Optional
_currentOptional
_currentOptional
_onAutomatically manage aspect ratio based on window/canvas size.
Readonly
canCheck whether user can interact with this camera. Interactions can be enabled/disabled in a variety of ways, like setInteractions, controlsMode, isMainCamera property
Array with object's children.
Readonly
controlsOptional
controlsAutomatically managed when autoNearFar is true
. See also maxFarPlane
Optional
fovOptional
geometryReadonly
interactionsuse isMainCamera instead
Readonly
isRead-only flag to check if a given object is of type Camera.
Optional
isOptional
isOptional
isReadonly
isOptional
isOptional
Readonly
isOptional
Readonly
isOptional
isOptional
isOptional
materialOptional
Readonly
materialsSame as material but always returns an array.
To set, just set material
property
Optional
morphOptional
morphAutomatically managed when autoNearFar is true
. See also minNearPlane
Optional
objectObject's parent in the scene graph.
Optional
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
uiAn object that can be used to store custom data about the Object3D.
Optional
options: Partial<ICameraEvent>Optional
_internal: booleanOptional
_refresh: booleanOptional
autoMoves the bounding box center of the object to the center of the world
Optional
setDirty: booleancalls setDirty
Optional
undo: booleanundo any previous autoCenter operation
Optional
autoScales the object to fit the given radius.
Optional
autoScaleRadius: numberoptional (taken from userData.autoScaleRadius by default)
Optional
isCentered: booleanoptional (taken from userData.isCentered by default)
Optional
setDirty: booleantrue by default
Optional
undo: booleanundo any previous autoScale operation
Copy the given object into this object
Optional
recursive: booleanIf true, descendants of the object are also copied. Default true
Optional
distanceFromTarget: numberOptional
worldSpace: booleanNote: event listeners and user-defined callbacks (.onAfterRender and .onBeforeRender) are not copied.
Optional
options: Partial<ICameraEvent>Optional
_internal: booleanOptional
_refresh: booleanSearches through an object and its children, starting with the object itself, and returns the first with a matching id.
Unique number of the object instance. Expects a Integer
Searches through an object and its children, starting with the object itself, and returns the first with a matching name.
String to match to the children's Object3D.name property.
Searches through an object and its children, starting with the object itself, and returns the first with a property that matches the value given.
the property name to search for.
value of the given property.
Optional
worldSpace: booleanOptional
cameraView: TOptional
pivotMoves the object pivot to the center of the bounding box.
The object will rotate around the new pivot.
Optional
setDirty: booleancalls setDirty
undo function
Optional
pivotMoves the object pivot to the given point
The object will rotate around the new pivot.
undo function
Optional
replace: booleanDispatches 'objectUpdate' event on object.
Optional
options: IObjectSetDirtyOptionsDispatches the setView
event which triggers the main camera to set its view to this camera's view.
Optional
update
Camera frustum aspect ratio, window width divided by window height. It can be managed internally if autoAspect is true.