Packageaway3d.core.base.data
Classpublic class UV

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
  
clone():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  [read-write]

Defines the horizontal coordinate of the texture value.

Implementation
    public function get u():Number
    public function set u(value:Number):void
vproperty 
v:Number  [read-write]

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)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.
Init Parameters
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
Wiki link
Click to go to the wiki page for 'away3d.core.base.data.UV'

Code examples

Comments