Packageorg.papervision3d.core.proto
Classpublic class GeometryObject3D
InheritanceGeometryObject3D Inheritance flash.events.EventDispatcher

The GeometryObject3D class contains the mesh definition of an object.



Public Properties
 PropertyDefined by
  aabb : AxisAlignedBoundingBox
[read-only] Returns an axis aligned bounding box, not world oriented.
GeometryObject3D
  boundingSphere : BoundingSphere
[read-only] Radius square of the mesh bounding sphere
GeometryObject3D
  dirty : Boolean
GeometryObject3D
  faces : Array
An array of Face3D objects for the faces of the mesh.
GeometryObject3D
  _ready : Boolean = false
GeometryObject3D
  ready : Boolean
GeometryObject3D
  vertices : Array
An array of vertices.
GeometryObject3D
Protected Properties
 PropertyDefined by
  _aabb : AxisAlignedBoundingBox
GeometryObject3D
  _aabbDirty : Boolean = true
GeometryObject3D
  _boundingSphere : BoundingSphere
GeometryObject3D
  _boundingSphereDirty : Boolean = true
GeometryObject3D
Public Methods
 MethodDefined by
  
GeometryObject3D
  
Clones this object.
GeometryObject3D
  
flipFaces():void
Flips the winding of faces.
GeometryObject3D
  
GeometryObject3D
  
transformVertices(transformation:Matrix3D):void
GeometryObject3D
Property detail
_aabbproperty
protected var _aabb:AxisAlignedBoundingBox
aabbproperty 
aabb:AxisAlignedBoundingBox  [read-only]

Returns an axis aligned bounding box, not world oriented.

Implementation
    public function get aabb():AxisAlignedBoundingBox
_aabbDirtyproperty 
protected var _aabbDirty:Boolean = true
_boundingSphereproperty 
protected var _boundingSphere:BoundingSphere
boundingSphereproperty 
boundingSphere:BoundingSphere  [read-only]

Radius square of the mesh bounding sphere

Implementation
    public function get boundingSphere():BoundingSphere
_boundingSphereDirtyproperty 
protected var _boundingSphereDirty:Boolean = true
dirtyproperty 
public var dirty:Boolean

facesproperty 
public var faces:Array

An array of Face3D objects for the faces of the mesh.

_readyproperty 
public var _ready:Boolean = false
readyproperty 
ready:Boolean  [read-write]Implementation
    public function get ready():Boolean
    public function set ready(value:Boolean):void
verticesproperty 
public var vertices:Array

An array of vertices.

Constructor detail
GeometryObject3D()constructor
public function GeometryObject3D()
Method detail
clone()method
public function clone(parent:DisplayObject3D = null):GeometryObject3D

Clones this object.

Parameters
parent:DisplayObject3D (default = null)

Returns
GeometryObject3D — The cloned GeometryObject3D.
flipFaces()method 
public function flipFaces():void

Flips the winding of faces.

transformUV()method 
public function transformUV(material:MaterialObject3D):voidParameters
material:MaterialObject3D
transformVertices()method 
public function transformVertices(transformation:Matrix3D):voidParameters
transformation:Matrix3D