Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

SetTarget(targetIndex: AvatarTarget, targetNormalizedTime: float): void;
void SetTarget(AvatarTarget targetIndex, float targetNormalizedTime);
def SetTarget(targetIndex as AvatarTarget, targetNormalizedTime as float) as void

Parameters

targetIndexThe avatar body part that is queried.
targetNormalizedTimeThe current state Time that is queried.

Description

Sets an AvatarTarget and a targetNormalizedTime for the current state.

Once the frame is evaluated, the position and the rotation can be queried using targetPosition and targetRotation.