Package | org.papervision3d.core.math |
Class | public class NumberUV |
Property | Defined by | ||
---|---|---|---|
u : Number
The horizontal coordinate value.
| NumberUV | ||
v : Number
The vertical coordinate value.
| NumberUV | ||
ZERO : NumberUV
[static][read-only]
Returns a NumberUV object with u and v properties set to zero.
| NumberUV |
Method | Defined by | ||
---|---|---|---|
NumberUV(u:Number = 0, v:Number = 0)
Creates a new NumberUV object whose coordinate values are specified by the u and v parameters.
| NumberUV | ||
Returns a new NumberUV object that is a clone of the original instance with the same UV values.
| NumberUV | ||
toString():String
Returns a string value representing the UV values in the specified NumberUV object.
| NumberUV |
u | property |
public var u:Number
The horizontal coordinate value.
v | property |
public var v:Number
The vertical coordinate value.
ZERO | property |
ZERO:NumberUV
[read-only]Returns a NumberUV object with u and v properties set to zero.
Implementation public static function get ZERO():NumberUV
NumberUV | () | constructor |
public function NumberUV(u:Number = 0, v:Number = 0)
Creates a new NumberUV object whose coordinate values are specified by the u and v parameters. If you call this constructor function without parameters, a NumberUV with u and v properties set to zero is created.
Parametersu:Number (default = 0 ) — The horizontal coordinate value. The default value is zero.
|
|
v:Number (default = 0 ) — The vertical coordinate value. The default value is zero.
|
clone | () | method |
public function clone():NumberUV
Returns a new NumberUV object that is a clone of the original instance with the same UV values.
ReturnsNumberUV —
A new NumberUV instance with the same UV values as the original NumberUV instance.
|
toString | () | method |
public function toString():String
Returns a string value representing the UV values in the specified NumberUV object.
ReturnsString — A string.
|