world property

World? world
getter/setter pair

Special component that is designed to be the root of a game world.

Multiple cameras can observe the same world simultaneously, and the world may itself contain cameras that look into other worlds, or even into itself.

The world component is generally mounted externally to the camera, and this variable is a mere reference to it.

Implementation

World? world;