onLoad property
Stream<ThermionEntity>
get
onLoad
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
Stream<ThermionEntity> get onLoad;