abstract
BaseCamera
Abstract class representing a camera in a 3D world. All cameras should use this class as a base.
Extends
Extended by
Properties
controls?
optional
abstract
controls:CameraControls
Optional CameraControls instance for controlling the camera. This property is only available if the camera is controllable.
currentWorld
currentWorld:
null
|World
=null
The current world this item is associated with. It can be null if no world is currently active.
Inherited from
enabled
abstract
enabled:boolean
Whether the camera is enabled or not.
onWorldChanged
readonly
onWorldChanged:Event
<object
>
Event that is triggered when a world is added or removed from the worlds
map.
The event payload contains the world instance and the action ("added" or "removed").
Type declaration
action
action:
"added"
|"removed"
world
world:
World
Inherited from
BaseWorldItem
. onWorldChanged
three
abstract
three:Camera
The Three.js camera instance.