Skip to content

CameraMoveEvent ​

record in OpalScript

Committed camera move, cancellation or shake event, measured in game milliseconds.

Properties ​

MemberDescription
CameraMoveEvent.cameraIdCamera object identity.
CameraMoveEvent.targetIdFocus or follow target identity, or empty.
CameraMoveEvent.xCamera center X in world units.
CameraMoveEvent.yCamera center Y in world units.
CameraMoveEvent.zoomResulting zoom multiplier.
CameraMoveEvent.durationRequested operation duration in game milliseconds.
CameraMoveEvent.reasonCompleted, interrupted or stopped outcome.

See also ​