C# 클래스 TreeEditor.TextureAtlas

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

공개 프로퍼티들

프로퍼티 타입 설명
atlasHeight int
atlasPadding int
atlasWidth int
nodes List

공개 메소드들

메소드 설명
AddTexture ( string name, Texture2D diffuse, Color diffuseColor, Texture2D normal, Texture2D gloss, Texture2D transtex, Texture2D shadowOffsetTex, float shininess, Vector2 scale, bool tileV, Vector2 uvTiling ) : void
GetHashCode ( ) : int
GetTexTiling ( string name ) : Vector2
GetUVRect ( string name ) : Rect
Pack ( int &targetWidth, int targetHeight, int padding, bool correctPow2 ) : void

메소드 상세

AddTexture() 공개 메소드

public AddTexture ( string name, Texture2D diffuse, Color diffuseColor, Texture2D normal, Texture2D gloss, Texture2D transtex, Texture2D shadowOffsetTex, float shininess, Vector2 scale, bool tileV, Vector2 uvTiling ) : void
name string
diffuse UnityEngine.Texture2D
diffuseColor Color
normal UnityEngine.Texture2D
gloss UnityEngine.Texture2D
transtex UnityEngine.Texture2D
shadowOffsetTex UnityEngine.Texture2D
shininess float
scale Vector2
tileV bool
uvTiling Vector2
리턴 void

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetTexTiling() 공개 메소드

public GetTexTiling ( string name ) : Vector2
name string
리턴 Vector2

GetUVRect() 공개 메소드

public GetUVRect ( string name ) : Rect
name string
리턴 UnityEngine.Rect

Pack() 공개 메소드

public Pack ( int &targetWidth, int targetHeight, int padding, bool correctPow2 ) : void
targetWidth int
targetHeight int
padding int
correctPow2 bool
리턴 void

프로퍼티 상세

atlasHeight 공개적으로 프로퍼티

public int atlasHeight
리턴 int

atlasPadding 공개적으로 프로퍼티

public int atlasPadding
리턴 int

atlasWidth 공개적으로 프로퍼티

public int atlasWidth
리턴 int

nodes 공개적으로 프로퍼티

public List nodes
리턴 List