Package com.gaia3d.basic.model
Class GaiaScene
java.lang.Object
com.gaia3d.basic.model.structure.SceneStructure
com.gaia3d.basic.model.GaiaScene
- All Implemented Interfaces:
Serializable
A class that represents a scene of a Gaia object.
The largest unit of the 3D file.
It contains the nodes and materials.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongvoidclear()clone()voidvoidextractGaiaFaces(List<GaiaFace> resultFaces) intvoidUpdates the bounding box of the scene by iterating through all nodes.
-
Constructor Details
-
GaiaScene
-
-
Method Details
-
updateBoundingBox
Updates the bounding box of the scene by iterating through all nodes.- Returns:
- the updated GaiaBoundingBox of the scene.
-
getRootNode
-
clear
public void clear() -
clone
-
calcTriangleCount
public long calcTriangleCount() -
extractGaiaFaces
-
joinAllSurfaces
public void joinAllSurfaces() -
doNormalLengthUnitary
public void doNormalLengthUnitary() -
deleteNormals
public void deleteNormals() -
getFacesCount
public int getFacesCount()
-