C# 클래스 UIUVRect, framework

파일 보기 프로젝트 열기: fistbump/framework 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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,