SimpleWorld<T, U, S>
A class representing a simple world in a 3D environment. It extends the Base class and implements the World interface.
Extends
Type parameters
Type parameter | Value | Description |
---|---|---|
T extends BaseScene | BaseScene | The type of the scene. Default is BaseScene. |
U extends BaseCamera | BaseCamera | The type of the camera. Default is BaseCamera. |
S extends BaseRenderer | BaseRenderer | The type of the renderer. Default is BaseRenderer. |
Implements
Properties
enabled
enabled:
boolean
=true
Indicates whether the world is currently enabled. When disabled, the world will not be updated.
isDisposing
isDisposing:
boolean
=false
Indicates whether the world is currently being disposed. This is useful to prevent trying to access world's elements when it's being disposed, which could cause errors when you dispose a world.