| Package | away3d.core.base |
| Class | public class UV |
| Inheritance | UV ValueObject flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
| extra : Object
An optional untyped object that can contain used-defined properties.
| UV | ||
| u : Number
Defines the horizontal corrdinate of the texture value.
| UV | ||
| v : Number
Defines the vertical corrdinate of the texture value.
| UV | ||
| Method | Defined by | ||
|---|---|---|---|
|
UV
(u:Number = 0, v:Number = 0)
Creates a new
UV object. | UV | ||
![]() |
addOnChange(listener:Function):void
| ValueObject | |
|
Duplicates the vertex properties to another
Vertex object
| UV | ||
![]() |
removeOnChange(listener:Function):void
| ValueObject | |
|
toString():String
Used to trace the values of a uv object.
| UV | ||
| extra | property |
public var extra:Object
An optional untyped object that can contain used-defined properties.
| u | property |
u:Number [read-write]Defines the horizontal corrdinate of the texture value.
Implementation public function get u():Number
public function set u(value:Number):void
| v | property |
v:Number [read-write]Defines the vertical corrdinate of the texture value.
Implementation public function get v():Number
public function set v(value:Number):void
| UV | () | constructor |
public function UV(u:Number = 0, v:Number = 0)Parameters
u:Number (default = 0) — [optional] The horizontal corrdinate of the texture value. Defaults to 0.
|
|
v:Number (default = 0) — [optional] The vertical corrdinate of the texture value. Defaults to 0.
|
| clone | () | method |
public function clone():UV
Duplicates the vertex properties to another Vertex object
UV —
The new vertex instance with duplicated properties applied
|
| toString | () | method |
public override function toString():String
Used to trace the values of a uv object.
ReturnsString — A string representation of the uv object.
|