|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration options for a Model. More...
#include <GREM/resource/Model.hpp>
Public Member Functions | |
| constexpr bool | operator== (const ModelOptions &other) const =default |
| Compare these options to another set of options for equality. | |
Public Attributes | |
| vec3 | rootTranslation {0.0f, 0.0f, 0.0f} |
| Translation to apply to the root joint of the model. | |
| quat | rootRotation {0.0f, 0.0f, 0.0f, 1.0f} |
| Rotation to apply to the root joint of the model. | |
| vec3 | rootScale {1.0f, 1.0f, 1.0f} |
| Scale to apply to the root joint of the model. | |
| bool | excludeAnimations = false |
| Exclude any animations from the loaded model. | |
| bool | excludeLights = false |
| Exclude any lights from the loaded model. | |
| bool | excludeColliders = false |
| Exclude any colliders from the loaded model. | |
| bool | excludePhysics = false |
| Exclude any physics information from the loaded model. | |
Configuration options for a Model.
|
nodiscardconstexprdefault |
Compare these options to another set of options for equality.
| other | the options to compare these to. |
| vec3 grem::resource::ModelOptions::rootTranslation {0.0f, 0.0f, 0.0f} |
Translation to apply to the root joint of the model.
| quat grem::resource::ModelOptions::rootRotation {0.0f, 0.0f, 0.0f, 1.0f} |
Rotation to apply to the root joint of the model.
| vec3 grem::resource::ModelOptions::rootScale {1.0f, 1.0f, 1.0f} |
Scale to apply to the root joint of the model.
| bool grem::resource::ModelOptions::excludeAnimations = false |
Exclude any animations from the loaded model.
Set to true to potentially improve load times in cases where the animation data isn't needed.
| bool grem::resource::ModelOptions::excludeLights = false |
Exclude any lights from the loaded model.
Set to true to potentially improve load times in cases where the light data isn't needed.
| bool grem::resource::ModelOptions::excludeColliders = false |
Exclude any colliders from the loaded model.
Set to true to potentially improve load times in cases where the collision data isn't needed.
| bool grem::resource::ModelOptions::excludePhysics = false |
Exclude any physics information from the loaded model.
Set to true to potentially improve load times in cases where the physics data isn't needed.