Function: addCamera()
addCamera(
world,cameraOptions):void
Defined in: rendering/utilities/add-camera.ts:12
Adds a camera entity to the world with the specified options.
Parameters
world
The ECS world to which the camera will be added.
cameraOptions
Partial<CameraEcsComponent> = {}
Options for configuring the camera.
Returns
void