doc: improve addToScene/removeFromScene documentation

This commit is contained in:
Nick Fisher
2025-07-16 13:00:08 +08:00
parent 413faec849
commit 429b8eb93b

View File

@@ -344,13 +344,14 @@ abstract class ThermionViewer {
int getCameraCount(); int getCameraCount();
/// ///
/// Adds the asset to the scene, meaning the asset will be rendered/visible. /// Adds the asset to the scene. All renderable entities attached to
/// the asset will be visible.
/// ///
Future addToScene(covariant ThermionAsset asset); Future addToScene(covariant ThermionAsset asset);
/// ///
/// Removes the asset from the scene, meaning the asset will not be rendered/visible. /// Removes the asset from the scene. None of the renderable entities
/// The asset itself will remain valid. /// attached to the asset will be visible, but the asset itself remains valid.
/// ///
Future removeFromScene(covariant ThermionAsset asset); Future removeFromScene(covariant ThermionAsset asset);
} }