MainCamera class
Main camera used to render the scene, this is actually an instance of three.js PerspectiveCamera (opens in a new tab)
Signature:
export class MainCamera extends AbstractCamera Extends: AbstractCamera
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
FirstPersonCameraControlsWrapper | ThirdPersonCameraControlsWrapper | FlyCameraControlsWrapper |
Returns the current camera controls, the type of the controls depends on the
| ||
|
boolean | |||
|
boolean | |||
|
number |
Returns vertical offset from the target object, this is used in combination with the | ||
|
number |
Represents the maximum distance from the target object, this is used in combination with the | ||
|
"firstperson" | "thirdperson" | |||
|
any | |||
|
any | |||
|
Object3D | |||
|
boolean |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|