CameraFollowOptions
Defined in: renderer/src/Camera.ts:13
Options for camera follow behavior.
Properties
Section titled “Properties”deadzone?
Section titled “deadzone?”
optionaldeadzone?:object
Defined in: renderer/src/Camera.ts:19
Deadzone rectangle (half-width, half-height). Camera won’t move when target is inside.
halfHeight
Section titled “halfHeight”halfHeight:
number
halfWidth
Section titled “halfWidth”halfWidth:
number
offset?
Section titled “offset?”
optionaloffset?:Vec2Like
Defined in: renderer/src/Camera.ts:17
Offset from the target position.
smoothing?
Section titled “smoothing?”
optionalsmoothing?:number
Defined in: renderer/src/Camera.ts:15
Smoothing factor 0..1. 1 = instant snap, lower = smoother. Default: 1.