| 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 [override]
Used to trace the values of a uv object. | UV | ||
| extra | property |
public var extra:ObjectAn optional untyped object that can contain used-defined properties.
| u | property |
u:NumberDefines the horizontal corrdinate of the texture value.
public function get u():Number public function set u(value:Number):void| v | property |
v:NumberDefines the vertical corrdinate of the texture value.
public function get v():Number public function set v(value:Number):void| UV | () | Constructor |
public function UV(u:Number = 0, v:Number = 0)
Creates a new UV object.
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 |
override public function toString():StringUsed to trace the values of a uv object.
ReturnsString — A string representation of the uv object.
|