C# 클래스 Spine.Unity.Modules.SkeletonRagdoll

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: EsotericSoftware/spine-runtimes 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
disableOtherConstraints bool
rootMass float
useGravity bool

공개 메소드들

메소드 설명
Apply ( ) : void

Instantiates the ragdoll simulation and applies its transforms to the skeleton.

GetRigidbody ( string boneName ) : Rigidbody
Remove ( ) : void

Removes the ragdoll instance and effect from the animated skeleton.

SetSkeletonPosition ( Vector3 worldPosition ) : void

Set the transform world position while preserving the ragdoll parts world position.

SmoothMix ( float target, float duration ) : Coroutine

Transitions the mix value from the current value to a target value.

비공개 메소드들

메소드 설명
AttachBoundingBoxRagdollColliders ( Bone b ) : List
GetPropagatedRotation ( Bone b ) : float
RecursivelyCreateBoneProxies ( Bone b ) : void
SmoothMixCoroutine ( float target, float duration ) : IEnumerator
Start ( ) : IEnumerator
UpdateSpineSkeleton ( ISkeletonAnimation skeletonRenderer ) : void

메소드 상세

Apply() 공개 메소드

Instantiates the ragdoll simulation and applies its transforms to the skeleton.
public Apply ( ) : void
리턴 void

GetRigidbody() 공개 메소드

public GetRigidbody ( string boneName ) : Rigidbody
boneName string
리턴 UnityEngine.Rigidbody

Remove() 공개 메소드

Removes the ragdoll instance and effect from the animated skeleton.
public Remove ( ) : void
리턴 void

SetSkeletonPosition() 공개 메소드

Set the transform world position while preserving the ragdoll parts world position.
public SetSkeletonPosition ( Vector3 worldPosition ) : void
worldPosition UnityEngine.Vector3
리턴 void

SmoothMix() 공개 메소드

Transitions the mix value from the current value to a target value.
public SmoothMix ( float target, float duration ) : Coroutine
target float
duration float
리턴 UnityEngine.Coroutine

프로퍼티 상세

disableOtherConstraints 공개적으로 프로퍼티

public bool disableOtherConstraints
리턴 bool

rootMass 공개적으로 프로퍼티

public float rootMass
리턴 float

useGravity 공개적으로 프로퍼티

public bool useGravity
리턴 bool