Package | away3d.core.base.data |
Class | public class Vertex |
Property | Defined by | ||
---|---|---|---|
index : uint | Vertex | ||
x : Number
To define/store the x value of the value object
| Vertex | ||
y : Number
To define/store the y value of the value object
| Vertex | ||
z : Number
To define/store the z value of the value object
| Vertex |
Method | Defined by | ||
---|---|---|---|
Vertex
(x:Number = 0, y:Number = 0, z:Number = 0, index:uint = 0)
Creates a new
Vertex value object. | Vertex | ||
returns a new Vertex value Object
| Vertex | ||
toString():String
returns the value object as a string for trace/debug purpose
| Vertex |
index | property |
index:uint
[read-write]Implementation
public function get index():uint
public function set index(value:uint):void
x | property |
x:Number
[read-write]To define/store the x value of the value object
Implementation public function get x():Number
public function set x(value:Number):void
y | property |
y:Number
[read-write]To define/store the y value of the value object
Implementation public function get y():Number
public function set y(value:Number):void
z | property |
z:Number
[read-write]To define/store the z value of the value object
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, index:uint = 0)
Parameters
x:Number (default = 0 ) — [optional] The x value. Defaults to 0.
|
|
y:Number (default = 0 ) — [optional] The y value. Defaults to 0.
|
|
z:Number (default = 0 ) — [optional] The z value. Defaults to 0.
|
|
index:uint (default = 0 ) — [optional] The index value. Defaults is NaN.
|
clone | () | method |
toString | () | method |
public function toString():String
returns the value object as a string for trace/debug purpose
ReturnsString |