Skip to content

CameraNoiseData

Defined in: sdk/src/camera/CameraNoise.ts:17

amplitude: number

Defined in: sdk/src/camera/CameraNoise.ts:19

How far the view drifts, in world units: across, up and along the view. 0 keeps it in place.


frequency: number

Defined in: sdk/src/camera/CameraNoise.ts:23

How many times a second the drift changes its mind: about 0.3 for a handheld camera, 2 for a vehicle.


rotation: number

Defined in: sdk/src/camera/CameraNoise.ts:21

How far the view turns, in degrees: a nod, a pan and a roll. A handheld camera is about 0.5.


seed: number

Defined in: sdk/src/camera/CameraNoise.ts:25

Picks which drift: two cameras with the same seed move as one. 0 takes it from the entity, so no two cameras match.