C# 클래스 SSTUTools.UVArea

Represents an area of a texture to be used by a set of faces. Faces will be mapped to this area depending upon the type of mapping selected (straight or circular)
파일 보기 프로젝트 열기: shadowmage45/SSTULabs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
name String
u1 float
u2 float
v1 float
v2 float

공개 메소드들

메소드 설명
ToString ( ) : string
UVArea ( ConfigNode node ) : System
UVArea ( UVArea input ) : System
UVArea ( float u1, float v1, float u2, float v2 ) : System
UVArea ( int x1, int y1, int x2, int y2, int textureSize ) : System
getU ( float xPercent ) : float
getUV ( Vector2 min, Vector2 max, Vector2 vert ) : Vector2
getUV ( float xPercent, float yPercent ) : Vector2
getV ( float yPercent ) : float

메소드 상세

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

UVArea() 공개 메소드

public UVArea ( ConfigNode node ) : System
node System.ConfigNode
리턴 System

UVArea() 공개 메소드

public UVArea ( UVArea input ) : System
input UVArea
리턴 System

UVArea() 공개 메소드

public UVArea ( float u1, float v1, float u2, float v2 ) : System
u1 float
v1 float
u2 float
v2 float
리턴 System

UVArea() 공개 메소드

public UVArea ( int x1, int y1, int x2, int y2, int textureSize ) : System
x1 int
y1 int
x2 int
y2 int
textureSize int
리턴 System

getU() 공개 메소드

public getU ( float xPercent ) : float
xPercent float
리턴 float

getUV() 공개 메소드

public getUV ( Vector2 min, Vector2 max, Vector2 vert ) : Vector2
min Vector2
max Vector2
vert Vector2
리턴 Vector2

getUV() 공개 메소드

public getUV ( float xPercent, float yPercent ) : Vector2
xPercent float
yPercent float
리턴 Vector2

getV() 공개 메소드

public getV ( float yPercent ) : float
yPercent float
리턴 float

프로퍼티 상세

name 공개적으로 프로퍼티

public String name
리턴 String

u1 공개적으로 프로퍼티

public float u1
리턴 float

u2 공개적으로 프로퍼티

public float u2
리턴 float

v1 공개적으로 프로퍼티

public float v1
리턴 float

v2 공개적으로 프로퍼티

public float v2
리턴 float