C# Класс UIUVRect, framework

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
lowerLeftUV Vector2
uvDimensions Vector2
zero UIUVRect,

Открытые методы

Метод Описание
UIUVRect ( int x, int y, int width, int height, Vector2 textureSize ) : System

Automatically converts coordinates to UV space as specified by textureSize

Описание методов

UIUVRect() публичный Метод

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
Результат System

Описание свойств

lowerLeftUV публичное свойство

public Vector2 lowerLeftUV
Результат Vector2

uvDimensions публичное свойство

public Vector2 uvDimensions
Результат Vector2

zero публичное статическое свойство

Convenience property to return a UVRect of all zeros
public static UIUVRect, zero
Результат UIUVRect,