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
  boundingSphere2 : Number
[write-only] A MaterialObject3D object that contains the material properties of the triangle.
GeometryObject3D
  faces : Array
An array of Face3D objects for the faces of the mesh.
GeometryObject3D
  ready : Boolean = false
GeometryObject3D
  vertices : Array
An array of vertices.
GeometryObject3D
Protected Properties
 PropertyDefined by
  _boundingSphere2 : Number
GeometryObject3D
  _boundingSphereDirty : Boolean = true
GeometryObject3D
  _material : MaterialObject3D
GeometryObject3D
Public Methods
 MethodDefined by
  
GeometryObject3D(initObject:Object = null)
GeometryObject3D
  
GeometryObject3D
  
Returns a string value representing the three-dimensional values in the specified Number3D object.
GeometryObject3D
  
Draws the object into the MovieClip container.
GeometryObject3D
  
transformVertices(transformation:Matrix3D):void
GeometryObject3D
Property detail
_boundingSphere2property
protected var _boundingSphere2:Number
boundingSphere2property 
boundingSphere2:Number  [write-only]

A MaterialObject3D object that contains the material properties of the triangle.

Implementation
    public function set boundingSphere2(value:Number):void
_boundingSphereDirtyproperty 
protected var _boundingSphereDirty:Boolean = true
facesproperty 
public var faces:Array

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

_materialproperty 
protected var _material:MaterialObject3D
readyproperty 
public var ready:Boolean = false
verticesproperty 
public var vertices:Array

An array of vertices.

Constructor detail
GeometryObject3D()constructor
public function GeometryObject3D(initObject:Object = null)Parameters
initObject:Object (default = null)
Method detail
getBoundingSphere2()method
public function getBoundingSphere2():Number

Returns
Number
transformUV()method 
public function transformUV(material:MaterialObject3D):void

Returns a string value representing the three-dimensional values in the specified Number3D object.

Parameters
material:MaterialObject3D
transformUV()method 
public function transformUV(material:MaterialObject3D):void

Draws the object into the MovieClip container.

Parameters
material:MaterialObject3D — A Papervision3D object that contains the current scene.
transformVertices()method 
public function transformVertices(transformation:Matrix3D):voidParameters
transformation:Matrix3D