Package | away3d.tools.utils |
Class | public class Bounds |
Bounds
Property | Defined by | ||
---|---|---|---|
depth : Number [static][read-only]
| Bounds | ||
height : Number [static][read-only]
| Bounds | ||
maxX : Number [static][read-only]
| Bounds | ||
maxY : Number [static][read-only]
| Bounds | ||
maxZ : Number [static][read-only]
| Bounds | ||
minX : Number [static][read-only]
| Bounds | ||
minY : Number [static][read-only]
| Bounds | ||
minZ : Number [static][read-only]
| Bounds | ||
width : Number [static][read-only]
| Bounds |
Method | Defined by | ||
---|---|---|---|
[static]
Calculate the bounds of a Mesh object
| Bounds | ||
[static]
Calculate the bounds of an ObjectContainer3D object
| Bounds | ||
getVerticesVectorBounds(vertices:Vector):void
[static]
Calculate the bounds from a vector of number representing the vertices.
| Bounds |
depth | property |
depth:Number
[read-only]Implementation
public static function get depth():Number
height | property |
height:Number
[read-only]Implementation
public static function get height():Number
maxX | property |
maxX:Number
[read-only]Implementation
public static function get maxX():Number
maxY | property |
maxY:Number
[read-only]Implementation
public static function get maxY():Number
maxZ | property |
maxZ:Number
[read-only]Implementation
public static function get maxZ():Number
minX | property |
minX:Number
[read-only]Implementation
public static function get minX():Number
minY | property |
minY:Number
[read-only]Implementation
public static function get minY():Number
minZ | property |
minZ:Number
[read-only]Implementation
public static function get minZ():Number
width | property |
width:Number
[read-only]Implementation
public static function get width():Number
getMeshBounds | () | method |
public static function getMeshBounds(mesh:Mesh):void
Calculate the bounds of a Mesh object
Parametersmesh:Mesh — Mesh. The Mesh to get the bounds from.
Use the getters of this class to retreive the results
|
getObjectContainerBounds | () | method |
public static function getObjectContainerBounds(container:ObjectContainer3D):void
Calculate the bounds of an ObjectContainer3D object
Parameterscontainer:ObjectContainer3D — ObjectContainer3D. The ObjectContainer3D to get the bounds from.
Use the getters of this class to retreive the results
|
getVerticesVectorBounds | () | method |
public static function getVerticesVectorBounds(vertices:Vector):void
Calculate the bounds from a vector of number representing the vertices.
vertices:Vector — Vector. |