Skip to content

CameraShakeOptions

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

Options for camera shake.

optional decay?: number

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

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.

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/renderer.md.