Package | away3d.tools.utils |
Class | public class Bounds |
Inheritance | Bounds Object |
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 | ||
---|---|---|---|
getMeshBounds(mesh:Mesh):void [static]
Calculate the bounds of a Mesh object
| Bounds | ||
getObjectContainerBounds(container:ObjectContainer3D):void [static]
Calculate the bounds of an ObjectContainer3D object
| Bounds | ||
getVerticesVectorBounds(vertices:Vector.<Number>):void [static]
Calculate the bounds from a vector of number representing the vertices. | Bounds |
depth | property |
depth:Number
[read-only]
public static function get depth():Number
height | property |
height:Number
[read-only]
public static function get height():Number
maxX | property |
maxX:Number
[read-only]
public static function get maxX():Number
maxY | property |
maxY:Number
[read-only]
public static function get maxY():Number
maxZ | property |
maxZ:Number
[read-only]
public static function get maxZ():Number
minX | property |
minX:Number
[read-only]
public static function get minX():Number
minY | property |
minY:Number
[read-only]
public static function get minY():Number
minZ | property |
minZ:Number
[read-only]
public static function get minZ():Number
width | property |
width:Number
[read-only]
public static function get width():Number
getMeshBounds | () | method |
public static function getMeshBounds(mesh:Mesh):void
Calculate the bounds of a Mesh object
Parameters
mesh:Mesh — Mesh. The Mesh to get the bounds from.
Use the getters of this class to retrieve the results
|
getObjectContainerBounds | () | method |
public static function getObjectContainerBounds(container:ObjectContainer3D):void
Calculate the bounds of an ObjectContainer3D object
Parameters
container:ObjectContainer3D — ObjectContainer3D. The ObjectContainer3D to get the bounds from.
Use the getters of this class to retrieve the results
|
getVerticesVectorBounds | () | method |
public static function getVerticesVectorBounds(vertices:Vector.<Number>):void
Calculate the bounds from a vector of number representing the vertices. <x,y,z,x,y,z.....>
Parameters
vertices:Vector.<Number> — Vector.<Number>. The vertices to get the bounds from.
Use the getters of this class to retrieve the results
|