Vertices3D
| Kind of class: | public class |
|---|---|
| Package: | org.papervision3d.core.geom |
| Inherits from: | DisplayObject3D < DisplayObjectContainer3D < EventDispatcher |
| Known subclasses: | |
| Classpath: | org.papervision3d.core.geom.Vertices3D |
| File last modified: | Sunday, 02 March 2008, 15:23:39 |
The Vertices3D class lets you create and manipulate groups of vertices.
Summary
Constructor
- Vertices3D (vertices:Array, name:String = null, initObject:Object = null)
- Creates a new Points object.
Namespaces
Constants
Constants inherited from DisplayObject3D
Class properties
Class properties inherited from DisplayObject3D
Instance properties
Instance properties inherited from DisplayObject3D
_containerBlendMode _containerSortMode _filters _material _rotationDirty _rotationX _rotationY _rotationZ _scaleDirty _scaleX _scaleY _scaleZ _scene _sorted _transformDirty _useOwnContainer _userData containerBlendMode containerSortMode culled extra faces filters geometry id material materials meshSort name parent rotationX rotationY rotationZ scale scaleX scaleY scaleZ scene sceneX sceneY sceneZ screen screenZ transform useOwnContainer userData view visible world x y z
Instance properties inherited from DisplayObjectContainer3D
Instance methods
- project (parent:DisplayObject3D) : Number
- Projects three dimensional coordinates onto a two dimensional plane to simulate the relationship of the camera to subject.
- projectFrustum (parent:DisplayObject3D) : Number
- boundingBox : Object
- Calculates 3D bounding box.
- transformVertices (transformation:Matrix3D) : void
Instance methods inherited from DisplayObject3D
Instance methods inherited from DisplayObjectContainer3D
Constructor
Vertices3D
public function Vertices3D (
vertices:Array,
name:String = null,
initObject:Object = null)
Creates a new Points object.
The Points GeometryObject3D class lets you create and manipulate groups of vertices.
The Points GeometryObject3D class lets you create and manipulate groups of vertices.
Parameters:
vertices :
An array of Vertex3D objects for the vertices of the mesh.
initObject:
[optional] - An object that contains user defined properties with which to populate the newly created GeometryObject3D.It includes x, y, z, rotationX, rotationY, rotationZ, scaleX, scaleY scaleZ and a user defined extra object.If extra is not an object, it is ignored. All properties of the extra field are copied into the new instance. The properties specified with extra are publicly available.
Instance methods
boundingBox
public function boundingBox (
) : Object
Calculates 3D bounding box.
Returns:
- {minX, maxX, minY, maxY, minZ, maxZ}
project
override public function project (
parent:DisplayObject3D,
renderSessionData:RenderSessionData) : Number
Projects three dimensional coordinates onto a two dimensional plane to simulate the relationship of the camera to subject.
This is the first step in the process of representing three dimensional shapes two dimensionally.
This is the first step in the process of representing three dimensional shapes two dimensionally.
Overrides:
projectFrustum
public function projectFrustum (
parent:DisplayObject3D,
renderSessionData:RenderSessionData) : Number
Parameters:
parent:
camera:
sorted: