|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Mesh instance in a model. More...
#include <GREM/resource/Model.hpp>
Public Attributes | |
| MaterialIndex | materialIndex |
| Index of the instance's material, or an out-of-range index if the instance uses the default material. | |
| MeshIndex | meshIndex |
| Index of the instance's mesh. | |
| ValueOffset | skinDataOffset |
| Index of the first 4-byte value in the skin data in the model. | |
| MorphTargetWeightIndex | morphTargetWeightOffset |
| Offset of the initial morph target weights of the instance, or 0 if not morphed. | |
| JointIndex | jointIndex |
| Index of the joint that the instance is attached to. | |
| InstanceFlags | instanceFlags |
| Instance flags of the instance. | |
Mesh instance in a model.
| MaterialIndex grem::resource::Model::Instance::materialIndex |
Index of the instance's material, or an out-of-range index if the instance uses the default material.
| MeshIndex grem::resource::Model::Instance::meshIndex |
Index of the instance's mesh.
| ValueOffset grem::resource::Model::Instance::skinDataOffset |
Index of the first 4-byte value in the skin data in the model.
After this offset, the skin data is stored in the following order:
| MorphTargetWeightIndex grem::resource::Model::Instance::morphTargetWeightOffset |
Offset of the initial morph target weights of the instance, or 0 if not morphed.
| JointIndex grem::resource::Model::Instance::jointIndex |
Index of the joint that the instance is attached to.
| InstanceFlags grem::resource::Model::Instance::instanceFlags |
Instance flags of the instance.