Assimp
v4.1. (December 2018)
|
The root structure of the imported data. More...
Public Member Functions | |
List< AiAnimation > | getAnimations () |
Returns the list of animations. More... | |
List< AiCamera > | getCameras () |
Returns the list of cameras. More... | |
List< AiLight > | getLights () |
Returns the list of light sources. More... | |
List< AiMaterial > | getMaterials () |
Returns the list of materials. More... | |
List< AiMesh > | getMeshes () |
Returns the meshes contained in the scene. More... | |
int | getNumAnimations () |
Returns the number of animations in the scene. More... | |
int | getNumCameras () |
Returns the number of cameras in the scene. More... | |
int | getNumLights () |
Returns the number of light sources in the scene. More... | |
int | getNumMaterials () |
Returns the number of materials in the scene. More... | |
int | getNumMeshes () |
Returns the number of meshes contained in the scene. More... | |
String | toString () |
The root structure of the imported data.
Everything that was imported from the given file can be accessed from here.
Jassimp copies all data into "java memory" during import and frees resources allocated by native code after scene loading is completed. No special care has to be taken for freeing resources, unreferenced jassimp objects (including the scene itself) are eligible to garbage collection like any other java object.
|
inline |
Returns the list of animations.
|
inline |
Returns the list of cameras.
Cameras are fully optional, the returned list may be empty
|
inline |
Returns the list of light sources.
Light sources are fully optional, the returned list may be empty
|
inline |
Returns the list of materials.
Use the index given in each aiMesh structure to access this array. If the AiSceneFlag#INCOMPLETE flag is not set there will always be at least ONE material.
|
inline |
Returns the meshes contained in the scene.
If there are no meshes in the scene, an empty collection is returned
|
inline |
Returns the number of animations in the scene.
This method is provided for completeness reasons. It will return the same value as getAnimations().size()
|
inline |
Returns the number of cameras in the scene.
This method is provided for completeness reasons. It will return the same value as getCameras().size()
|
inline |
Returns the number of light sources in the scene.
This method is provided for completeness reasons. It will return the same value as getLights().size()
|
inline |
Returns the number of materials in the scene.
This method is provided for completeness reasons. It will return the same value as getMaterials().size()
|
inline |
Returns the number of meshes contained in the scene.
This method is provided for completeness reasons. It will return the same value as getMeshes().size()
|
inline |