org.papervision3d.core.Number3D
The Number3D class represents a value in a three-dimensional coordinate system. Properties x, y and z represent the horizontal, vertical and z the depth axes respectively.
public function Number3D(x:Number, y:Number, z:Number)Creates a new Number3D object whose three-dimensional values are specified by the x, y and z parameters. If you call this constructor function without parameters, a Number3D with x, y and z properties set to zero is created.
x | The horizontal coordinate value. The default value is zero. |
y | The vertical coordinate value. The default value is zero. |
z | The depth coordinate value. The default value is zero. |
public x:Numberpublic y:Numberpublic z:Numberstatic public ZERO:Number3D [Read Only]public function clone():Number3DReturns a new Number3D object that is a clone of the original instance with the same three-dimensional values.
A new Number3D instance with the same three-dimensional values as the original Number3D instance.