The NumberUV class represents a value in a texture UV coordinate system.
Properties u and v represent the horizontal and vertical texture axes respectively.
public var u:Number
The horizontal coordinate value.
public var v:Number
The vertical coordinate value.
ZERO:NumberUV [read-only]
Returns a NumberUV object with u and v properties set to zero.
Implementation
public static function get ZERO():NumberUV
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.
Parameters
| u: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.
|
public function clone():NumberUV
Returns a new NumberUV object that is a clone of the original instance with the same UV values.
Returns
| NumberUV —
A new NumberUV instance with the same UV values as the original NumberUV instance.
|
public static function median(a:NumberUV, b:NumberUV):NumberUVParameters
Returns
public function toString():String
Returns a string value representing the UV values in the specified NumberUV object.
Returns
public static function weighted(a:NumberUV, b:NumberUV, aw:Number, bw:Number):NumberUVParameters
Returns
http://blog.papervision3d.org