Package | away3d.core.base |
Class | public class VertexPosition |
Property | Defined by | ||
---|---|---|---|
vertex : Vertex | VertexPosition | ||
x : Number
Defines the x coordinate.
| VertexPosition | ||
y : Number
Defines the y coordinate.
| VertexPosition | ||
z : Number
Defines the z coordinate.
| VertexPosition |
Method | Defined by | ||
---|---|---|---|
Creates a new
VertexPosition object. | VertexPosition | ||
Adjusts the position of the vertex object by Number3D.
| VertexPosition | ||
adjust(k:Number = 1):void
Adjusts the position of the vertex object incrementally.
| VertexPosition | ||
getIndex(vertices:Array):int
| VertexPosition | ||
reset():void
Reset the position of the vertex object by Number3D.
| VertexPosition | ||
Transforms the position of the vertex object by the given 3d matrix.
| VertexPosition |
vertex | property |
public var vertex:Vertex
x | property |
public var x:Number
Defines the x coordinate.
y | property |
public var y:Number
Defines the y coordinate.
z | property |
public var z:Number
Defines the z coordinate.
VertexPosition | () | constructor |
public function VertexPosition(vertex:Vertex)
Parameters
vertex:Vertex — The vertex object used to define the default x, y and z values.
|
add | () | method |
public function add(value:Number3D):void
Adjusts the position of the vertex object by Number3D.
Parametersvalue:Number3D — Amount to add in Number3D format.
|
adjust | () | method |
public function adjust(k:Number = 1):void
Adjusts the position of the vertex object incrementally.
Parametersk:Number (default = 1 ) — The fraction by which to adjust the vertex values.
|
getIndex | () | method |
public function getIndex(vertices:Array):int
Parameters
vertices:Array |
int |
reset | () | method |
public function reset():void
Reset the position of the vertex object by Number3D.
transform | () | method |
public function transform(m:Matrix3D):void
Transforms the position of the vertex object by the given 3d matrix.
Parametersm:Matrix3D — The 3d matrix to use.
|