FirstPersonController
Defined in: packages/threeplay/src/plugins/camera/types.ts:41
The running first-person behavior.
Extends
Section titled “Extends”Methods
Section titled “Methods”stop()
Section titled “stop()”stop():
void
Defined in: packages/threeplay/src/plugins/camera/types.ts:10
Stops it; the camera stays where it is.
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”
readonlymode:"follow"|"firstPerson"|"thirdPerson"|"orbit"|"topDown"
Defined in: packages/threeplay/src/plugins/camera/types.ts:8
Which behavior this is.
Inherited from
Section titled “Inherited from”pitch:
number
Defined in: packages/threeplay/src/plugins/camera/types.ts:45
Degrees; positive looks up.
yaw:
number
Defined in: packages/threeplay/src/plugins/camera/types.ts:43
Degrees; 0 faces −Z, positive turns left. Also written to the target’s rot.y if it has rotate().