Class MeshExploder
Hierarchy
- MeshExploder
Index
Constructors
Methods
Constructors
constructor
-
Explodes meshes from a center mesh.
Parameters
-
meshes: Array<Mesh>
The meshes to explode.
-
Optional centerMesh: Mesh
The mesh to be center of explosion.
Returns MeshExploder
-
Methods
explodeSearch playground for explode
-
Explodes meshes giving a specific direction
Parameters
-
Optional direction: number
Number to multiply distance of each mesh's origin from center. Use a negative number to implode, or zero to reset.
Returns void
-
get Class NameSearch playground for getClassName
-
Get class name
Returns string
"MeshExploder"
get MeshesSearch playground for getMeshes
-
"Exploded meshes"
Returns Array<Mesh>
Array of meshes with the centerMesh at index 0.
Class used to explode meshes (ie. to have a center and move them away from that center to better see the overall organization)