# NIF File Format Documentation

NIF Objects | Compound Types | Enum Types | Basic Types | File Versions

## bhkMoppBvTreeShape

Memory optimized partial polytope bounding volume tree shape (not an entity).

### Attributes

Name | Type | Arg | Arr1 | Arr2 | Cond | Description | From | To
--- | --- | --- | --- | --- | --- | --- | --- | ---
From NiObject
From bhkRefObject
From bhkSerializable
From bhkShape
From bhkBvTreeShape
From bhkMoppBvTreeShape
Shape | Ref<bhkShape> |  |  |  |  | The shape. |  |
Material | HavokMaterial |  |  |  |  | The shape's material. |  |
Skyrim Material | SkyrimHavokMaterial |  |  |  |  | The shape's material. |  |
Unknown 8 Bytes | byte |  | 8 |  |  | Unknown bytes. |  |
Unknown Float | float |  |  |  |  | Unknown float, might be scale. |  |
MOPP Data Size | uint |  |  |  |  | Number of bytes for MOPP data. |  |
Origin | Vector3 |  |  |  |  | Origin of the object in mopp coordinates. This is the minimum of all vertices in the packed shape along each axis, minus 0.1. |  |
Scale | float |  |  |  |  | The scaling factor to quantize the MOPP: the quantization factor is equal to 256*256 divided by this number. In Oblivion files, scale is taken equal to 256*256*254 / (size + 0.2) where size is the largest dimension of the bounding box of the packed shape. |  |
Old MOPP Data | byte |  | MOPP Data Size |  |  | The tree of bounding volume data (old style, contains more than just the mopp script). |  | 10.0.1.0
Build Type | MoppDataBuildType |  |  |  |  | Tells if MOPP Data was organized into smaller chunks (PS3) or not (PC) | 20.2.0.7 |
MOPP Data | byte |  | MOPP Data Size |  |  | The tree of bounding volume data. | 10.0.1.2 |

### Parent Of