FirstPersonOpts
Defined in: packages/threeplay/src/plugins/camera/types.ts:26
Options of firstPerson().
Properties
Section titled “Properties”height?
Section titled “height?”
optionalheight?:number
Defined in: packages/threeplay/src/plugins/camera/types.ts:28
Eye height over the object origin (default 0.7).
lockOnClick?
Section titled “lockOnClick?”
optionallockOnClick?:boolean
Defined in: packages/threeplay/src/plugins/camera/types.ts:35
Lock the pointer on click (default true). The mouse only looks around
while the pointer is locked; with false it always looks around.
maxPitch?
Section titled “maxPitch?”
optionalmaxPitch?:number
Defined in: packages/threeplay/src/plugins/camera/types.ts:37
Pitch limit in degrees (default 85).
sensitivity?
Section titled “sensitivity?”
optionalsensitivity?:number
Defined in: packages/threeplay/src/plugins/camera/types.ts:30
Degrees per pixel of mouse movement (default 0.15).