UISpriteUnit Class Reference

Rectangle data managed by UISprite. More...

List of all members.

Public Member Functions

 UISpriteUnit ()
 Constructor.
void SetPosition (float x, float y)
 Sets the position in the parent coordinate system.
void SetSize (float width, float height)
 Sets the size.

Properties

float X [get, set]
 Obtains and sets the X coordinate in the parent coordinate system.
float Y [get, set]
 Obtains and sets the Y coordinate in the parent coordinate system.
float Z [get, set]
 Obtains and sets the Z coordinate in the parent coordinate system.
float Width [get, set]
 Obtains and sets the width.
float Height [get, set]
 Obtains and sets the height.
float U1 [get, set]
 Obtains and sets the texture coordinates of the left position.
float V1 [get, set]
 Obtains and sets the texture coordinates of the top position.
float U2 [get, set]
 Obtains and sets the texture coordinates of the right position.
float V2 [get, set]
 Obtains and sets the texture coordinates of the bottom position.
UIColor Color [get, set]
 Obtains and sets the color of the vertex.
Vector3 Position3D [get, set]
 Obtains and sets the position.

Detailed Description

Rectangle data managed by UISprite.


Member Function Documentation

void SetPosition ( float  x,
float  y 
)

Sets the position in the parent coordinate system.

Parameters:
xX coordinate in the parent coordinate system
yY coordinate in the parent coordinate system
void SetSize ( float  width,
float  height 
)

Sets the size.

Parameters:
widthWidth
heightHeight