Packageaway3d.core.base.data
Classpublic class UV
InheritanceUV Inheritance Object

Texture coordinates value object.



Public Properties
 PropertyDefined By
  u : Number
Defines the horizontal coordinate of the texture value.
UV
  v : Number
Defines the vertical coordinate of the texture value.
UV
Public Methods
 MethodDefined By
  
UV(u:Number = 0, v:Number = 0)
Creates a new UV object.
UV
  
returns a new UV value Object
UV
  
toString():String
returns the value object as a string for trace/debug purpose
UV
Property Detail
uproperty
u:Number

Defines the horizontal coordinate of the texture value.


Implementation
    public function get u():Number
    public function set u(value:Number):void
vproperty 
v:Number

Defines the vertical coordinate of the texture value.


Implementation
    public function get v():Number
    public function set v(value:Number):void
Constructor Detail
UV()Constructor
public function UV(u:Number = 0, v:Number = 0)

Creates a new UV object.

Parameters
u:Number (default = 0) — [optional] The horizontal coordinate of the texture value. Defaults to 0.
 
v:Number (default = 0) — [optional] The vertical coordinate of the texture value. Defaults to 0.
Method Detail
clone()method
public function clone():UV

returns a new UV value Object

Returns
UV
toString()method 
public function toString():String

returns the value object as a string for trace/debug purpose

Returns
String