SetTarget(AvatarTarget, float)
Sets an AvatarTarget and a targetNormalizedTime for the current state.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public void SetTarget(AvatarTarget targetIndex, float targetNormalizedTime)
Parameters
The avatar body part that is queried.
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.