onLoad property
A Stream containing every ThermionEntity added to the scene (i.e. via loadGlb
, loadGltf
or addLight
).
This is provided for convenience so you can set listeners in front-end widgets that can respond to entity loads without manually passing around the ThermionEntity returned from those methods.
Implementation
@override
Stream<ThermionEntity> get onLoad => _onLoadController.stream;