Skip to content

CameraShakeOptions

Defined in: renderer/src/CameraComponent.ts:34

Options for camera shake.

optional decay?: number

Defined in: renderer/src/CameraComponent.ts:41

How much the shake fades across its duration. 0 (the default) holds full intensity until the shake ends. 1 fades linearly to zero over the duration. Values above 1 reach zero earlier — at 2 the camera stops moving halfway through.