Package | away3d.entities |
Class | public class WireFrameGrid |
Inheritance | WireFrameGrid SegmentsBase Entity ObjectContainer3D Object3D flash.events.EventDispatcher |
WireFrameGrid
Method | Defined by | ||
---|---|---|---|
WireFrameGrid
(view:View3D, subDivision:uint = 10, gridSize:uint = 100, thickness:Number = 1, color:uint = 0xFFFFFF, plane:String, worldPlanes:Boolean = false) | WireFrameGrid | ||
Adds a child ObjectContainer3D to the current object.
| ObjectContainer3D | ||
addChildren(... childarray):void
Adds an array of 3d objects to the scene as children of the container
| ObjectContainer3D | ||
SegmentsBase | |||
Object3D | |||
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
| ObjectContainer3D | ||
Retrieves the child object at the given index.
| ObjectContainer3D | ||
Gets a concrete EntityPartition3DNode subclass that is associated with this Entity instance
| Entity | ||
getIndexBuffer(context:Context3D, contextIndex:uint):IndexBuffer3D
| SegmentsBase | ||
getUVBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
| SegmentsBase | ||
getVertexBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
| SegmentsBase | ||
getVertexNormalBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
| SegmentsBase | ||
getVertexTangentBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
| SegmentsBase | ||
lookAt(target:Vector3D, upAxis:Vector3D = null):void
Rotates the 3d object around to face a point defined relative to the local coordinates of the parent
ObjectContainer3D . | ObjectContainer3D | ||
moveBackward(distance:Number):void
Moves the 3d object backwards along it's local z axis
| Object3D | ||
moveDown(distance:Number):void
Moves the 3d object backwards along it's local y axis
| Object3D | ||
moveForward(distance:Number):void
Moves the 3d object forwards along it's local z axis
| Object3D | ||
moveLeft(distance:Number):void
Moves the 3d object backwards along it's local x axis
| Object3D | ||
movePivot(dx:Number, dy:Number, dz:Number):void
Moves the local point around which the object rotates.
| Object3D | ||
moveRight(distance:Number):void
Moves the 3d object forwards along it's local x axis
| Object3D | ||
moveTo(dx:Number, dy:Number, dz:Number):void
Moves the 3d object directly to a point in space
| Object3D | ||
moveUp(distance:Number):void
Moves the 3d object forwards along it's local y axis
| Object3D | ||
pitch(angle:Number):void
Rotates the 3d object around it's local x-axis
| Object3D | ||
popModelViewProjection():void
Removes a model view projection matrix from the stack, used when leaving a render.
| Entity | ||
Updates the model-view-projection (MVP) matrix used to transform from model to homogeneous projection space
and places it on the stack.
| Entity | ||
Removes a 3d object from the child array of the container
| ObjectContainer3D | ||
SegmentsBase | |||
roll(angle:Number):void
Rotates the 3d object around it's local z-axis
| Object3D | ||
rotate(axis:Vector3D, angle:Number):void
Rotates the 3d object around an axis by a defined angle
| Object3D | ||
rotateTo(ax:Number, ay:Number, az:Number):void
Rotates the 3d object directly to a euler angle
| Object3D | ||
scale(value:Number):void
Appends a uniform scale to the current transformation.
| Object3D | ||
translate(axis:Vector3D, distance:Number):void
Moves the 3d object along a vector by a defined length
| Object3D | ||
translateLocal(axis:Vector3D, distance:Number):void
| ObjectContainer3D | ||
yaw(angle:Number):void
Rotates the 3d object around it's local y-axis
| Object3D |
Constant | Defined by | ||
---|---|---|---|
PLANE_XY : String = "xy" [static]
| WireFrameGrid | ||
PLANE_XZ : String = "xz" [static]
| WireFrameGrid | ||
PLANE_ZY : String = "zy" [static]
| WireFrameGrid |
WireFrameGrid | () | constructor |
public function WireFrameGrid(view:View3D, subDivision:uint = 10, gridSize:uint = 100, thickness:Number = 1, color:uint = 0xFFFFFF, plane:String, worldPlanes:Boolean = false)
Parameters
view:View3D |
|
subDivision:uint (default = 10 )
|
|
gridSize:uint (default = 100 )
|
|
thickness:Number (default = 1 )
|
|
color:uint (default = 0xFFFFFF )
|
|
plane:String |
|
worldPlanes:Boolean (default = false )
|
PLANE_XY | constant |
public static const PLANE_XY:String = "xy"
PLANE_XZ | constant |
public static const PLANE_XZ:String = "xz"
PLANE_ZY | constant |
public static const PLANE_ZY:String = "zy"