Package | away3d.tools.helpers.data |
Class | public class MeshDebug |
Inheritance | MeshDebug ![]() ![]() ![]() ![]() ![]() ![]() |
Method | Defined By | ||
---|---|---|---|
MeshDebug | |||
![]() | 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 | |
![]() | getRenderSceneTransform(camera:Camera3D):Matrix3D | SegmentSet | |
![]() | getSegment(index:uint):Segment | SegmentSet | |
![]() | isIntersectingRay(rayPosition:Vector3D, rayDirection:Vector3D):Boolean | Entity | |
![]() | 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 | |
![]() | removeAllSegments():void | SegmentSet | |
![]() | removeChild(child:ObjectContainer3D):void
Removes a 3d object from the child array of the container
| ObjectContainer3D | |
![]() | removeChildAt(index:uint):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 |
MeshDebug | () | Constructor |
public function MeshDebug()
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 )
|