Packageaway3d.tools.helpers
Classpublic class MeshDebugger
InheritanceMeshDebugger Inheritance Object

Helper Class for Mesh objects MeshDebugger Displays the normals, tangents and vertexNormals of a given mesh.



Public Properties
 PropertyDefined By
  colorNormals : uint
MeshDebugger
  colorTangents : uint
MeshDebugger
  colorVertexNormals : uint
MeshDebugger
  lengthNormals : Number
MeshDebugger
  lengthTangents : Number
MeshDebugger
  lengthVertexNormals : Number
MeshDebugger
Public Methods
 MethodDefined By
  
debug(mesh:Mesh, scene:Scene3D, displayNormals:Boolean = true, displayVertexNormals:Boolean = false, displayTangents:Boolean = false):MeshDebugData
MeshDebugger
  
debugContainer(object:ObjectContainer3D, scene:Scene3D, displayNormals:Boolean = true, displayVertexNormals:Boolean = false, displayTangents:Boolean = false):void
MeshDebugger
  
hasDebug(mesh:Mesh):Boolean
MeshDebugger
  
hideDebug(mesh:Mesh):void
MeshDebugger
  
removeDebug(mesh:Mesh):void
MeshDebugger
  
showDebug(mesh:Mesh):void
MeshDebugger
  
update():void
MeshDebugger
Property Detail
colorNormalsproperty
colorNormals:uint


Implementation
    public function get colorNormals():uint
    public function set colorNormals(value:uint):void
colorTangentsproperty 
colorTangents:uint


Implementation
    public function get colorTangents():uint
    public function set colorTangents(value:uint):void
colorVertexNormalsproperty 
colorVertexNormals:uint


Implementation
    public function get colorVertexNormals():uint
    public function set colorVertexNormals(value:uint):void
lengthNormalsproperty 
lengthNormals:Number


Implementation
    public function get lengthNormals():Number
    public function set lengthNormals(value:Number):void
lengthTangentsproperty 
lengthTangents:Number


Implementation
    public function get lengthTangents():Number
    public function set lengthTangents(value:Number):void
lengthVertexNormalsproperty 
lengthVertexNormals:Number


Implementation
    public function get lengthVertexNormals():Number
    public function set lengthVertexNormals(value:Number):void
Method Detail
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)

Returns
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 
public function hasDebug(mesh:Mesh):Boolean

Parameters

mesh:Mesh

Returns
Boolean
hideDebug()method 
public function hideDebug(mesh:Mesh):void

Parameters

mesh:Mesh

removeDebug()method 
public function removeDebug(mesh:Mesh):void

Parameters

mesh:Mesh

showDebug()method 
public function showDebug(mesh:Mesh):void

Parameters

mesh:Mesh

update()method 
public function update():void