Helper Class to retrieve objects bounds Bounds
Static variables
Static methods
staticgetCenter(?outCenter:Vector3D):Vector3D
Parameters:
outCenter | Vector3D. Optional Vector3D, if provided the same Vector3D is returned with the bounds center. |
|---|
Returns:
the center of the bound
staticgetMeshBounds(mesh:Mesh):Void
Calculate the bounds of a Mesh object
Parameters:
mesh | Mesh. The Mesh to get the bounds from. Use the getters of this class to retrieve the results |
|---|
staticgetObjectContainerBounds(container:ObjectContainer3D, worldBased:Bool = true):Void
Calculate the bounds of an ObjectContainer3D object
Parameters:
container | ObjectContainer3D. The ObjectContainer3D to get the bounds from. Use the getters of this class to retrieve the results |
|---|
staticgetVerticesVectorBounds(vertices:Vector<Float>):Void
Calculate the bounds from a vector of number representing the vertices. <x,y,z,x,y,z.....>
Parameters:
vertices | Vector.<Number>. The vertices to get the bounds from. Use the getters of this class to retrieve the results |
|---|