Package | away3d.core.base |
Class | public class Vertex |
Inheritance | Vertex ![]() ![]() |
Property | Defined by | ||
---|---|---|---|
extra : Object An object that contains user defined properties.
| Vertex | ||
position : Number3D
Vertex position
| Vertex | ||
x : Number Horizontal coordinate
| Vertex | ||
y : Number Vertical coordinate
| Vertex | ||
z : Number Depth coordinate
| Vertex |
Method | Defined by | ||
---|---|---|---|
Vertex
(x:Number = 0, y:Number = 0, z:Number = 0) Create a new vertex
| Vertex | ||
![]() |
addOnChange(listener:Function):void
| ValueObject | |
Duplicate instance
| Vertex | ||
Project a point to the screen space
| Vertex | ||
![]() |
removeOnChange(listener:Function):void
| ValueObject | |
toString():String
String representation
| Vertex |
extra | property |
public var extra:Object
An object that contains user defined properties.
The default value is null
.
position | property |
position:Number3D
[read-write]Vertex position
Implementation public function get position():Number3D
public function set position(value:Number3D):void
x | property |
x:Number
[read-write]Horizontal coordinate
Implementation public function get x():Number
public function set x(value:Number):void
y | property |
y:Number
[read-write]Vertical coordinate
Implementation public function get y():Number
public function set y(value:Number):void
z | property |
z:Number
[read-write]Depth coordinate
Implementation public function get z():Number
public function set z(value:Number):void
Vertex | () | constructor |
public function Vertex(x:Number = 0, y:Number = 0, z:Number = 0)
Parameters
x:Number (default = 0 )
|
|
y:Number (default = 0 )
|
|
z:Number (default = 0 )
|
clone | () | method |
project | () | method |
public function project(projection:Projection):ScreenVertex
Project a point to the screen space
Parametersprojection:Projection |
ScreenVertex |
toString | () | method |
public function toString():String
String representation
ReturnsString |