world property

World3D get world
inherited

Reference to the World instance that this component belongs to.

Implementation

T get world => _world ??= _findWorldAndCheck();
  1. @visibleForTesting
set world (World3D? value)
inherited

Allows you to set the world instance explicitly. This may be useful in tests.

Implementation

@visibleForTesting
set world(T? value) => _world = value;