Packagegraphics.geom
Classpublic class UV
InheritanceUV Inheritance Object
Implements Geometry
Subclasses UVW

UV mapping is the 3D modeling process of making a 2D image representation of a 3D model. Determinates a coordinates system for bitmaps and textures. It represents the position of a vertex in the Bitmap.



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

Defines the horizontal coordinate value of the texture.

vproperty 
public var v:Number

Defines the vertical coordinate value of the texture.

ZEROproperty 
public static var ZERO:UV

Defines the UVCoordinate object with the u and v properties set to zero.

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

Creates a new UV 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.
Method Detail
clone()method
public function clone():*

Returns a shallow copy of this instance.

Returns
* — a shallow copy of this instance.
equals()method 
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 
public function toObject():Object

Returns the Object representation of this object.

Returns
Object — the Object representation of this object.
toSource()method 
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 
public function toString():String

Returns the String representation of the object.

Returns
String — the String representation of the object.