Function: SampleAnimationClip()
ts
function SampleAnimationClip(
host,
clip,
time
): number;Writes every curve's value at time onto the host's subtree (through the auto-dirty setters). Returns the number of curves applied.
Parameters
| Parameter | Type |
|---|---|
host | Entity |
clip | AnimationClip |
time | number |
Returns
number