C# 클래스 MeshCreator, UnitySpritesAndBones

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

공개 프로퍼티들

프로퍼티 타입 설명
customLoadMesh Mesh
meshDirty bool
meshVertices Vector3[]

공개 메소드들

메소드 설명
GetMesh ( ) : Mesh
OnDestroy ( ) : void
OnGUI ( ) : void
OnSceneGUI ( SceneView sceneView ) : void
PreviewMode ( ) : void
VisualizePolygon ( SceneView sceneView ) : void

비공개 메소드들

메소드 설명
AddOrRemoveHole ( Vector2 position ) : void
AddSegment ( Vertex, first, Vertex, second ) : void
DestroyPreviewObject ( ) : void
GeneratePreviewObject ( ) : void
GetBounds ( IEnumerable poly ) : Rect
GetSegmentNearPosition ( Vector2 position ) : Segment,
GetVertexNearPosition ( Vector2 position ) : Vertex,
LoadMesh ( Mesh loadMesh ) : void
LoadPolygonFromSprite ( ) : void
RemoveSegment ( Vector2 position ) : void
RemoveSegment ( int index ) : void
RemoveVertex ( Vector2 position ) : void
RemoveVertex ( int index ) : void
RemoveVertexOrSegment ( Vector2 position ) : void
Reset ( ) : bool
ShowSkinMeshEditor ( ) : void
Subdivide ( int subdivideValue ) : void
TriangulateMesh ( ) : Mesh
genUV ( Vector3 vertices ) : Vector2[]

메소드 상세

GetMesh() 공개 메소드

public GetMesh ( ) : Mesh
리턴 Mesh

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

OnSceneGUI() 공개 메소드

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

PreviewMode() 공개 메소드

public PreviewMode ( ) : void
리턴 void

VisualizePolygon() 공개 메소드

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

프로퍼티 상세

customLoadMesh 공개적으로 프로퍼티

public Mesh customLoadMesh
리턴 Mesh

meshDirty 공개적으로 프로퍼티

public bool meshDirty
리턴 bool

meshVertices 공개적으로 프로퍼티

public Vector3[] meshVertices
리턴 Vector3[]