Optional
_currentOptional
_currentOptional
_on1
Automatically manage aspect ratio based on window/canvas size.
use this
instead
Readonly
canCheck whether user can interact with this camera. Interactions can be enabled/disabled in a variety of ways, like setInteractions, controlsMode, isMainCamera property
Readonly
controlsOptional
controlsAutomatically managed when autoNearFar is true
. See also maxFarPlane
Optional
fovOptional
geometryReadonly
interactionsuse isMainCamera instead
Readonly
isOptional
isOptional
isOptional
isReadonly
isOptional
isOptional
Readonly
isOptional
Readonly
isOptional
isOptional
isOptional
materialOptional
Readonly
materialsSame as material but always returns an array.
use object directly
Optional
morphOptional
morphAutomatically managed when autoNearFar is true
. See also minNearPlane
Optional
objectOptional
parentParent/Ancestor of this object to bubble events to. This is set internally by setupObject3D.
Local position of camera.
Target of camera, in world(global) coordinates.
Optional
uiOptional
options: Partial<ICameraEvent>Optional
_internal: booleanOptional
_refresh: booleanRest
...object: IObject3D<IObject3DEvent<IObject3DEventTypes>, IObject3DEventTypes>[]Optional
autoOptional
autoOptional
options: Partial<ICameraEvent>Optional
_internal: booleanOptional
_refresh: booleanOptional
worldSpace: booleanOptional
cameraView: TRest
...object: IObject3D<IObject3DEvent<IObject3DEventTypes>, IObject3DEventTypes>[]Optional
replace: booleanDispatches 'objectUpdate' event on object.
Optional
options: IObjectSetDirtyOptionsSet camera view from another camera.
Optional
distanceFromTarget: numberdefault = 4
Optional
worldSpace: booleandefault = true
Dispatches the setView
event which triggers the main camera to set its view to this camera's view.
Optional
updateGenerated using TypeDoc
Camera frustum aspect ratio, window width divided by window height. It can be managed internally if autoAspect is true.