OrbitController
Defined in: packages/threeplay/src/plugins/camera/types.ts:101
The running orbit 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”distance
Section titled “distance”distance:
number
Defined in: packages/threeplay/src/plugins/camera/types.ts:107
Current distance to the target.
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:105
Camera elevation over the horizon, degrees.
target
Section titled “target”target:
Vector3
Defined in: packages/threeplay/src/plugins/camera/types.ts:109
Point being orbited (refreshed every frame when the option was an object).
yaw:
number
Defined in: packages/threeplay/src/plugins/camera/types.ts:103
Degrees around the target; 0 puts the camera on its +Z side.