three-story-controls

Home > three-story-controls > CameraRig > do

CameraRig.do() method

Main method for controlling the camera

Signature:

do(action: CameraAction, amount: number, rigComponent?: RigComponent): void;

Parameters

Parameter Type Description
action CameraAction Action to perform
amount number Amount to move/rotate/etc
rigComponent RigComponent Override the default component to perform the action on

Returns:

void