Packagecom.yogurt3d.core.geoms
Classpublic class Mesh
InheritanceMesh Inheritance EngineObject Inheritance Object
Implements IMesh
Subclasses BoxMesh, ConeMesh, CylinderMesh, GeodesicSphereMesh, PlaneMesh, SkeletalAnimatedMeshBase, SphereMesh, Sprite3D, TestTriangleMesh, TorusKnotMesh, TorusMesh, WireMesh



Public Properties
 PropertyDefined By
  axisAlignedBoundingBox : AxisAlignedBoundingBox
[read-only]
Mesh
  boundingSphere : BoundingSphere
[read-only]
Mesh
  subMeshList : Vector.<SubMesh>
[read-only]
Mesh
 InheritedsystemID : String
[read-only] Automatically assigned id.
EngineObject
  triangleCount : int
[read-only]
Mesh
  type : String
[read-only]
Mesh
 InheriteduserID : String
Identification string can be assigned by developer to identify objects.
EngineObject
Public Methods
 MethodDefined By
  
Mesh(_initInternals:Boolean = true)
Mesh
 Inherited
Creates new clone object.
EngineObject
  
dispose():void
[override]
Mesh
  
[override]
Mesh
  
disposeGPU():void
[override]
Mesh
  
[override]
Mesh
 Inherited
renew():void
Renews object internals and resets properties of object.
EngineObject
 Inherited
toString():String
Returns a string identifier on this object
EngineObject
  
Mesh
Protected Methods
 MethodDefined By
  
[override]
Mesh
  
[override]
Mesh
Property Detail
axisAlignedBoundingBoxproperty
axisAlignedBoundingBox:AxisAlignedBoundingBox  [read-only]


Implementation
    public function get axisAlignedBoundingBox():AxisAlignedBoundingBox
boundingSphereproperty 
boundingSphere:BoundingSphere  [read-only]


Implementation
    public function get boundingSphere():BoundingSphere
m_aabbproperty 
YOGURT3D_INTERNAL var m_aabb:AxisAlignedBoundingBox

m_boundingSphereproperty 
YOGURT3D_INTERNAL var m_boundingSphere:BoundingSphere

subMeshListproperty 
subMeshList:Vector.<SubMesh>  [read-only]


Implementation
    public function get subMeshList():Vector.<SubMesh>
triangleCountproperty 
triangleCount:int  [read-only]


Implementation
    public function get triangleCount():int
typeproperty 
type:String  [read-only]


Implementation
    public function get type():String
Constructor Detail
Mesh()Constructor
public function Mesh(_initInternals:Boolean = true)



Parameters
_initInternals:Boolean (default = true)
Method Detail
dispose()method
override public function dispose():void

disposeDeep()method 
override public function disposeDeep():void

disposeGPU()method 
override public function disposeGPU():void

initInternals()method 
override protected function initInternals():void

instance()method 
override public function instance():*

Returns
*
trackObject()method 
override protected function trackObject():void

updateBoundingVolumes()method 
public function updateBoundingVolumes():void