Texture coordinates value object.

Constructor

@:value({ v : 0, u : 0 })new(u:Float = 0, v:Float = 0)

Creates a new UV object.

Parameters:

u

[optional] The horizontal coordinate of the texture value. Defaults to 0.

v

[optional] The vertical coordinate of the texture value. Defaults to 0.

Variables

u:Float

v:Float

Methods

clone():UV

returns a new UV value Object

toString():String

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