CameraMoveEvent
record in OpalScript
Committed camera move, cancellation or shake event, measured in game milliseconds.
Properties
| Member | Description |
|---|---|
| CameraMoveEvent.cameraId | Camera object identity. |
| CameraMoveEvent.targetId | Focus or follow target identity, or empty. |
| CameraMoveEvent.x | Camera center X in world units. |
| CameraMoveEvent.y | Camera center Y in world units. |
| CameraMoveEvent.zoom | Resulting zoom multiplier. |
| CameraMoveEvent.duration | Requested operation duration in game milliseconds. |
| CameraMoveEvent.reason | Completed, interrupted or stopped outcome. |