C# 클래스 SkinMesh, UnitySpritesAndBones

상속: EditorWindow
파일 보기 프로젝트 열기: Banbury/UnitySpritesAndBones 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
combineMesh Mesh
customLoadMesh Mesh
handleColor Color
handleColorFirst Color
handleColorLast Color
handleScale float
mesh Mesh
points Vector2[]
polyColor Color

공개 메소드들

메소드 설명
AddMidPoint ( ) : void
AddPoint ( Event e ) : void
CombineMesh ( ) : void
CreateMeshFromPoints ( bool combine ) : Mesh
IsBadTriangle ( Poly2Tri.DelaunayTriangle triangle ) : bool
OnDestroy ( ) : void
OnGUI ( ) : void
OnSceneGUI ( SceneView sceneView ) : void
RemovePoint ( ) : void
RemovePoint ( int index ) : void
SaveMesh ( ) : void
SubdivideMesh ( int divisions ) : void
UpdateMesh ( ) : void
genUV ( Vector3 vertices ) : Vector2[]

비공개 메소드들

메소드 설명
CreateMesh ( ) : void
CreatePolygon ( ) : void
GetBounds ( IEnumerable poly ) : Rect
GetHandleSize ( Vector3 pos, float size ) : float
LoadMesh ( Mesh loadMesh ) : void
PointInPoly ( Vector2 p, IList poly ) : bool
ShowSkinMeshEditor ( ) : void

메소드 상세

AddMidPoint() 공개 메소드

public AddMidPoint ( ) : void
리턴 void

AddPoint() 공개 메소드

public AddPoint ( Event e ) : void
e Event
리턴 void

CombineMesh() 공개 메소드

public CombineMesh ( ) : void
리턴 void

CreateMeshFromPoints() 공개 메소드

public CreateMeshFromPoints ( bool combine ) : Mesh
combine bool
리턴 Mesh

IsBadTriangle() 공개 메소드

public IsBadTriangle ( Poly2Tri.DelaunayTriangle triangle ) : bool
triangle Poly2Tri.DelaunayTriangle
리턴 bool

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

OnSceneGUI() 공개 메소드

public OnSceneGUI ( SceneView sceneView ) : void
sceneView SceneView
리턴 void

RemovePoint() 공개 메소드

public RemovePoint ( ) : void
리턴 void

RemovePoint() 공개 메소드

public RemovePoint ( int index ) : void
index int
리턴 void

SaveMesh() 공개 메소드

public SaveMesh ( ) : void
리턴 void

SubdivideMesh() 공개 메소드

public SubdivideMesh ( int divisions ) : void
divisions int
리턴 void

UpdateMesh() 공개 메소드

public UpdateMesh ( ) : void
리턴 void

genUV() 공개 메소드

public genUV ( Vector3 vertices ) : Vector2[]
vertices Vector3
리턴 Vector2[]

프로퍼티 상세

combineMesh 공개적으로 프로퍼티

public Mesh combineMesh
리턴 Mesh

customLoadMesh 공개적으로 프로퍼티

public Mesh customLoadMesh
리턴 Mesh

handleColor 공개적으로 프로퍼티

public Color handleColor
리턴 Color

handleColorFirst 공개적으로 프로퍼티

public Color handleColorFirst
리턴 Color

handleColorLast 공개적으로 프로퍼티

public Color handleColorLast
리턴 Color

handleScale 공개적으로 프로퍼티

public float handleScale
리턴 float

mesh 공개적으로 프로퍼티

public Mesh mesh
리턴 Mesh

points 공개적으로 프로퍼티

public Vector2[] points
리턴 Vector2[]

polyColor 공개적으로 프로퍼티

public Color polyColor
리턴 Color