Packagegraphics.geom
Classpublic class UVW
InheritanceUVW Inheritance UV Inheritance Object

UVW mapping is a mathematical technique for coordinate mapping. "UVW", like the standard Cartesian coordinate system, has three dimensions; the third dimension allows texture maps to wrap in complex ways onto irregular surfaces.



Public Properties
 PropertyDefined By
 Inheritedu : Number
Defines the horizontal coordinate value of the texture.
UV
 Inheritedv : Number
Defines the vertical coordinate value of the texture.
UV
  w : Number
Defines the w coordinate value of the texture.
UVW
 InheritedZERO : UV
[static] Defines the UVCoordinate object with the u and v properties set to zero.
UV
Public Methods
 MethodDefined By
  
UVW(u:Number = 0, v:Number = 0, w:Number = 0)
Creates a new UVW instance.
UVW
  
clone():*
[override] Returns a shallow copy of this instance.
UVW
  
equals(o:*):Boolean
[override] Compares the specified object with this object for equality.
UVW
  
toObject():Object
[override] Returns the Object representation of this object.
UVW
  
toSource(indent:int = 0):String
[override] Returns the source code string representation of the object.
UVW
  
toString():String
[override] Returns the String representation of the object.
UVW
Property Detail
wproperty
public var w:Number

Defines the w coordinate value of the texture.

Constructor Detail
UVW()Constructor
public function UVW(u:Number = 0, v:Number = 0, w:Number = 0)

Creates a new UVW instance.

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.
 
w:Number (default = 0) — The w coordinate value. The default value is zero.
Method Detail
clone()method
override public function clone():*

Returns a shallow copy of this instance.

Returns
* — a shallow copy of this instance.
equals()method 
override public function equals(o:*):Boolean

Compares the specified object with this object for equality.

Parameters

o:*

Returns
Booleantrue if the the specified object is equal with this object.
toObject()method 
override public function toObject():Object

Returns the Object representation of this object.

Returns
Object — the Object representation of this object.
toSource()method 
override public function toSource(indent:int = 0):String

Returns the source code string representation of the object.

Parameters

indent:int (default = 0)

Returns
String — the source code string representation of the object.
toString()method 
override public function toString():String

Returns the String representation of the object.

Returns
String — the String representation of the object.