three-story-controls

Home > three-story-controls > CameraMoveUpdateEvent

CameraMoveUpdateEvent interface

Event: Fired on every tick of CameraRig’s transition

Signature:

export interface CameraMoveUpdateEvent 

Example

rig.addEventListener('CameraMoveUpdate', handlerFunction)

Properties

Property Type Description
progress number Percentage of transition completed, between 0 and 1.
type ‘CameraMoveUpdate’