C# Class SkinMesh, UnitySpritesAndBones

Inheritance: EditorWindow
Afficher le fichier Open project: Banbury/UnitySpritesAndBones Class Usage Examples

Méthodes publiques

Свойство Type Description
combineMesh Mesh
customLoadMesh Mesh
handleColor Color
handleColorFirst Color
handleColorLast Color
handleScale float
mesh Mesh
points Vector2[]
polyColor Color

Méthodes publiques

Méthode Description
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[]

Private Methods

Méthode Description
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

Method Details

AddMidPoint() public méthode

public AddMidPoint ( ) : void
Résultat void

AddPoint() public méthode

public AddPoint ( Event e ) : void
e Event
Résultat void

CombineMesh() public méthode

public CombineMesh ( ) : void
Résultat void

CreateMeshFromPoints() public méthode

public CreateMeshFromPoints ( bool combine ) : Mesh
combine bool
Résultat Mesh

IsBadTriangle() public méthode

public IsBadTriangle ( Poly2Tri.DelaunayTriangle triangle ) : bool
triangle Poly2Tri.DelaunayTriangle
Résultat bool

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnGUI() public méthode

public OnGUI ( ) : void
Résultat void

OnSceneGUI() public méthode

public OnSceneGUI ( SceneView sceneView ) : void
sceneView SceneView
Résultat void

RemovePoint() public méthode

public RemovePoint ( ) : void
Résultat void

RemovePoint() public méthode

public RemovePoint ( int index ) : void
index int
Résultat void

SaveMesh() public méthode

public SaveMesh ( ) : void
Résultat void

SubdivideMesh() public méthode

public SubdivideMesh ( int divisions ) : void
divisions int
Résultat void

UpdateMesh() public méthode

public UpdateMesh ( ) : void
Résultat void

genUV() public méthode

public genUV ( Vector3 vertices ) : Vector2[]
vertices Vector3
Résultat Vector2[]

Property Details

combineMesh public_oe property

public Mesh combineMesh
Résultat Mesh

customLoadMesh public_oe property

public Mesh customLoadMesh
Résultat Mesh

handleColor public_oe property

public Color handleColor
Résultat Color

handleColorFirst public_oe property

public Color handleColorFirst
Résultat Color

handleColorLast public_oe property

public Color handleColorLast
Résultat Color

handleScale public_oe property

public float handleScale
Résultat float

mesh public_oe property

public Mesh mesh
Résultat Mesh

points public_oe property

public Vector2[] points
Résultat Vector2[]

polyColor public_oe property

public Color polyColor
Résultat Color