three-story-controls

Home > three-story-controls > CameraRig > flyToKeyframe

CameraRig.flyToKeyframe() method

Transition to a specific keyframe on the animation clip Transform on eyes will be reset to 0 as a result of this.

Signature:

flyToKeyframe(frame: number, duration?: number, ease?: string): void;

Parameters

Parameter Type Description
frame number frame
duration number duration
ease string ease

Returns:

void