Scene Properties |
The Scene type exposes the following members.
| Name | Description | |
|---|---|---|
| AnimationCount | Gets the number of animations in the scene. | |
| Animations | Gets the animations in the scene, if any. | |
| CameraCount | Gets the number of cameras in the scene. | |
| Cameras | Gets the cameras in the scene, if any. | |
| HasAnimations | Gets if the scene contains any animations. | |
| HasCameras | Gets if the scene contains any cameras. | |
| HasLights | Gets if the scene contains any lights. | |
| HasMaterials | Gets if the scene contains any materials. There should always be at least the default Assimp material if no materials were loaded. | |
| HasMeshes | Gets if the scene contains meshes. Unless if no special scene flags are set this should always be true. | |
| HasTextures | Gets if the scene contains embedded textures. | |
| LightCount | Gets the number of lights in the scene. | |
| Lights | Gets the lights in the scene, if any. | |
| MaterialCount | Gets the number of materials in the scene. There should always be at least the default Assimp material if no materials were loaded. | |
| Materials | Gets the materials in the scene. | |
| MeshCount | Gets the number of meshes in the scene. | |
| Meshes | Gets the meshes contained in the scene, if any. | |
| Metadata | Gets the metadata of the scene. This data contains global metadata which belongs to the scene like unit-conversions, versions, vendors or other model-specific data. This can be used to store format-specific metadata as well. | |
| Name | Gets or sets the name of the scene. | |
| RootNode | Gets or sets the root node of the scene graph. There will always be at least the root node if the import was successful and no special flags have been set. Presence of further nodes depends on the format and content of the imported file. | |
| SceneFlags | Gets or sets the state of the imported scene. By default no flags are set, but issues can arise if the flag is set to incomplete. | |
| TextureCount | Gets the number of embedded textures in the scene. | |
| Textures | Gets the embedded textures in the scene, if any. |