C# Class UIUVRect, framework

Afficher le fichier Open project: fistbump/framework Class Usage Examples

Méthodes publiques

Свойство Type Description
lowerLeftUV Vector2
uvDimensions Vector2
zero UIUVRect,

Méthodes publiques

Méthode Description
UIUVRect ( int x, int y, int width, int height, Vector2 textureSize ) : System

Automatically converts coordinates to UV space as specified by textureSize

Method Details

UIUVRect() public méthode

Automatically converts coordinates to UV space as specified by textureSize
public UIUVRect ( int x, int y, int width, int height, Vector2 textureSize ) : System
x int
y int
width int
height int
textureSize Vector2
Résultat System

Property Details

lowerLeftUV public_oe property

public Vector2 lowerLeftUV
Résultat Vector2

uvDimensions public_oe property

public Vector2 uvDimensions
Résultat Vector2

zero public_oe static_oe property

Convenience property to return a UVRect of all zeros
public static UIUVRect, zero
Résultat UIUVRect,