Class SceneSerializer
Hierarchy
- SceneSerializer
Index
Methods
Methods
Static Clear CacheSearch playground for ClearCache
-
Clear cache used by a previous serialization
Returns void
Static SerializeSearch playground for Serialize
-
Serialize a scene into a JSON compatible object
Parameters
-
scene: Scene
defines the scene to serialize
Returns any
a JSON compatible object
-
Static Serialize MeshSearch playground for SerializeMesh
-
Serialize a mesh into a JSON compatible object
Parameters
-
toSerialize: any
defines the mesh to serialize
-
Optional withParents: boolean
defines if parents must be serialized as well
-
Optional withChildren: boolean
defines if children must be serialized as well
Returns any
a JSON compatible object
-
Class used to serialize a scene into a string