ドキュメント

Unity Engine

Unity Engine

SetTarget(AvatarTarget, float)

Sets an AvatarTarget and a targetNormalizedTime for the current state.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public void SetTarget(AvatarTarget targetIndex, float targetNormalizedTime)

Parameters

targetIndex

The avatar body part that is queried.

targetNormalizedTime

The current state Time that is queried.

Remarks

Once the frame is evaluated, use Animator.targetPosition and Animator.targetRotation to query the position and rotation.