Package | away3d.tools.helpers.data |
Class | public class MeshDebug |
Inheritance | MeshDebug SegmentSet Entity ObjectContainer3D Object3D NamedAssetBase flash.events.EventDispatcher |
Method | Defined By | ||
---|---|---|---|
activateSecondaryUVBuffer(index:int, stage3DProxy:Stage3DProxy):void | SegmentSet | ||
activateUVBuffer(index:int, stage3DProxy:Stage3DProxy):void | SegmentSet | ||
activateVertexBuffer(index:int, stage3DProxy:Stage3DProxy):void | SegmentSet | ||
activateVertexNormalBuffer(index:int, stage3DProxy:Stage3DProxy):void | SegmentSet | ||
activateVertexTangentBuffer(index:int, stage3DProxy:Stage3DProxy):void | SegmentSet | ||
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 | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void [override] | ObjectContainer3D | ||
addSegment(segment:Segment):void | SegmentSet | ||
assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | ||
clearAll():void | MeshDebug | ||
[override]
Clones this ObjectContainer3D instance along with all it's children, and
returns the result (which will be a copy of this container, containing copies
of all it's children.)
| ObjectContainer3D | ||
contains(child:ObjectContainer3D):Boolean | ObjectContainer3D | ||
dispatchEvent(event:Event):Boolean [override]
| ObjectContainer3D | ||
displayNormals(mesh:Mesh, color:uint = 0xFF3399, length:Number = 30):void | MeshDebug | ||
displayTangents(mesh:Mesh, color:uint = 0xFFCC00, length:Number = 30):void | MeshDebug | ||
displayVertexNormals(mesh:Mesh, color:uint = 0x66CCFF, length:Number = 30):void | MeshDebug | ||
dispose():void [override] | SegmentSet | ||
disposeAsset():void | Object3D | ||
getChildAt(index:uint):ObjectContainer3D
Retrieves the child object at the given index. | ObjectContainer3D | ||
Gets a concrete EntityPartition3DNode subclass that is associated with this Entity instance
| Entity | ||
getIndexBuffer(stage3DProxy:Stage3DProxy):IndexBuffer3D | SegmentSet | ||
getSegment(index:uint):Segment | SegmentSet | ||
lookAt(target:Vector3D, upAxis:Vector3D = null):void [override]
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 | ||
pushModelViewProjection(camera:Camera3D, updateZIndex:Boolean = true):void
Updates the model-view-projection (MVP) matrix used to transform from model to homogeneous projection space
and places it on the stack. | Entity | ||
removeAllSegments():void | SegmentSet | ||
removeChild(child:ObjectContainer3D):void
Removes a 3d object from the child array of the container
| ObjectContainer3D | ||
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void [override] | ObjectContainer3D | ||
removeSegment(segment:Segment):void | SegmentSet | ||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | ||
roll(angle:Number):void
Rotates the 3d object around it's local z-axis
| Object3D | ||
rotate(axis:Vector3D, angle:Number):void [override] | ObjectContainer3D | ||
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 [override] | ObjectContainer3D | ||
updateImplicitVisibility():void | ObjectContainer3D | ||
yaw(angle:Number):void
Rotates the 3d object around it's local y-axis
| Object3D |
clearAll | () | method |
public function clearAll():void
displayNormals | () | method |
public function displayNormals(mesh:Mesh, color:uint = 0xFF3399, length:Number = 30):void
Parameters
mesh:Mesh | |
color:uint (default = 0xFF3399 )
| |
length:Number (default = 30 )
|
displayTangents | () | method |
public function displayTangents(mesh:Mesh, color:uint = 0xFFCC00, length:Number = 30):void
Parameters
mesh:Mesh | |
color:uint (default = 0xFFCC00 )
| |
length:Number (default = 30 )
|
displayVertexNormals | () | method |
public function displayVertexNormals(mesh:Mesh, color:uint = 0x66CCFF, length:Number = 30):void
Parameters
mesh:Mesh | |
color:uint (default = 0x66CCFF )
| |
length:Number (default = 30 )
|