Click or drag to resize

Scene Properties

The Scene type exposes the following members.

Properties
 NameDescription
Public propertyAnimationCount Gets the number of animations in the scene.
Public propertyAnimations Gets the animations in the scene, if any.
Public propertyCameraCount Gets the number of cameras in the scene.
Public propertyCameras Gets the cameras in the scene, if any.
Public propertyHasAnimations Gets if the scene contains any animations.
Public propertyHasCameras Gets if the scene contains any cameras.
Public propertyHasLights Gets if the scene contains any lights.
Public propertyHasMaterials Gets if the scene contains any materials. There should always be at least the default Assimp material if no materials were loaded.
Public propertyHasMeshes Gets if the scene contains meshes. Unless if no special scene flags are set this should always be true.
Public propertyHasTextures Gets if the scene contains embedded textures.
Public propertyLightCount Gets the number of lights in the scene.
Public propertyLights Gets the lights in the scene, if any.
Public propertyMaterialCount Gets the number of materials in the scene. There should always be at least the default Assimp material if no materials were loaded.
Public propertyMaterials Gets the materials in the scene.
Public propertyMeshCount Gets the number of meshes in the scene.
Public propertyMeshes Gets the meshes contained in the scene, if any.
Public propertyMetadata 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.
Public propertyName Gets or sets the name of the scene.
Public propertyRootNode 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.
Public propertySceneFlags 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.
Public propertyTextureCount Gets the number of embedded textures in the scene.
Public propertyTextures Gets the embedded textures in the scene, if any.
Top
See Also