Class sandy.core.data.UVCoord

Description

UVCoord

The UVCoord class is a data structure class. It represents the position of a vertex in the Bitmap. In other words it is the texture coordinates, used in the TextureSkin class for example

Field Index

u, v

Method Index

new UVCoord()
toString()

Constructor Detail

UVCoord

public function UVCoord(nU:Number, nV:Number)

Create a new UVCoord.

Parameters

nUNumber the x texture position in the bitmap
nVNumber the y texture position in the bitmap.

Field Detail

v

public v:Number

u

public u:Number

Method Detail

toString

public function toString(Void):String

Get a String representation of the UVCoord.

Return

A String representing the UVCoord.