C# 클래스 Skin2D, UnitySpritesAndBones

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

공개 프로퍼티들

프로퍼티 타입 설명
controlPoints ControlPoints.Point[],
lockBoneWeights bool
points ControlPoints,
referenceMaterial Material
showMeshOutline bool
sprite Sprite

Private Properties

프로퍼티 타입 설명
CalculateVertexColors void
Create void
CreateOrReplaceAsset void
LateUpdate void
OnDrawGizmos void
Start void
Update void

공개 메소드들

메소드 설명
CalculateBoneWeights ( Bone, bones ) : void
CalculateBoneWeights ( Bone, bones, bool weightToParent ) : void
CreateControlPoints ( SkinnedMeshRenderer skin ) : void
RecalculateBoneWeights ( ) : void
RemoveControlPoints ( ) : void
ResetControlPointPositions ( ) : void
SaveAsPrefab ( ) : void

비공개 메소드들

메소드 설명
CalculateVertexColors ( ) : void
Create ( ) : void
CreateOrReplaceAsset ( Mesh mesh, string path ) : void
LateUpdate ( ) : void
OnDrawGizmos ( ) : void
Start ( ) : void
Update ( ) : void

메소드 상세

CalculateBoneWeights() 공개 메소드

public CalculateBoneWeights ( Bone, bones ) : void
bones Bone,
리턴 void

CalculateBoneWeights() 공개 메소드

public CalculateBoneWeights ( Bone, bones, bool weightToParent ) : void
bones Bone,
weightToParent bool
리턴 void

CreateControlPoints() 공개 메소드

public CreateControlPoints ( SkinnedMeshRenderer skin ) : void
skin UnityEngine.SkinnedMeshRenderer
리턴 void

RecalculateBoneWeights() 공개 메소드

public RecalculateBoneWeights ( ) : void
리턴 void

RemoveControlPoints() 공개 메소드

public RemoveControlPoints ( ) : void
리턴 void

ResetControlPointPositions() 공개 메소드

public ResetControlPointPositions ( ) : void
리턴 void

SaveAsPrefab() 공개 메소드

public SaveAsPrefab ( ) : void
리턴 void

프로퍼티 상세

controlPoints 공개적으로 프로퍼티

public ControlPoints.Point[], controlPoints
리턴 ControlPoints.Point[],

lockBoneWeights 공개적으로 프로퍼티

public bool lockBoneWeights
리턴 bool

points 공개적으로 프로퍼티

public ControlPoints, points
리턴 ControlPoints,

referenceMaterial 공개적으로 프로퍼티

public Material referenceMaterial
리턴 Material

showMeshOutline 공개적으로 정적으로 프로퍼티

public static bool showMeshOutline
리턴 bool

sprite 공개적으로 프로퍼티

public Sprite sprite
리턴 Sprite