Package | away3d.tools.helpers |
Class | public class MeshDebugger |
Inheritance | MeshDebugger Object |
MeshDebugger
Displays the normals, tangents and vertexNormals of a given mesh.
Property | Defined By | ||
---|---|---|---|
colorNormals : uint | MeshDebugger | ||
colorTangents : uint | MeshDebugger | ||
colorVertexNormals : uint | MeshDebugger | ||
lengthNormals : Number | MeshDebugger | ||
lengthTangents : Number | MeshDebugger | ||
lengthVertexNormals : Number | MeshDebugger |
Method | Defined By | ||
---|---|---|---|
MeshDebugger | |||
debugContainer(object:ObjectContainer3D, scene:Scene3D, displayNormals:Boolean = true, displayVertexNormals:Boolean = false, displayTangents:Boolean = false):void | MeshDebugger | ||
MeshDebugger | |||
MeshDebugger | |||
removeDebug(mesh:Mesh):void | MeshDebugger | ||
MeshDebugger | |||
update():void | MeshDebugger |
colorNormals | property |
colorNormals:uint
public function get colorNormals():uint
public function set colorNormals(value:uint):void
colorTangents | property |
colorTangents:uint
public function get colorTangents():uint
public function set colorTangents(value:uint):void
colorVertexNormals | property |
colorVertexNormals:uint
public function get colorVertexNormals():uint
public function set colorVertexNormals(value:uint):void
lengthNormals | property |
lengthNormals:Number
public function get lengthNormals():Number
public function set lengthNormals(value:Number):void
lengthTangents | property |
lengthTangents:Number
public function get lengthTangents():Number
public function set lengthTangents(value:Number):void
lengthVertexNormals | property |
lengthVertexNormals:Number
public function get lengthVertexNormals():Number
public function set lengthVertexNormals(value:Number):void
debug | () | method |
public function debug(mesh:Mesh, scene:Scene3D, displayNormals:Boolean = true, displayVertexNormals:Boolean = false, displayTangents:Boolean = false):MeshDebugData
Parameters
mesh:Mesh | |
scene:Scene3D | |
displayNormals:Boolean (default = true )
| |
displayVertexNormals:Boolean (default = false )
| |
displayTangents:Boolean (default = false )
|
MeshDebugData |
debugContainer | () | method |
public function debugContainer(object:ObjectContainer3D, scene:Scene3D, displayNormals:Boolean = true, displayVertexNormals:Boolean = false, displayTangents:Boolean = false):void
Parameters
object:ObjectContainer3D | |
scene:Scene3D | |
displayNormals:Boolean (default = true )
| |
displayVertexNormals:Boolean (default = false )
| |
displayTangents:Boolean (default = false )
|
hasDebug | () | method |
hideDebug | () | method |
removeDebug | () | method |
showDebug | () | method |
update | () | method |
public function update():void