world property

  1. @override
World3D? get world
override

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

@override
World3D? get world => super.world as World3D?;
  1. @override
set world (covariant World3D? world)
covariantoverride

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

@override
set world(covariant World3D? world) => super.world = world;