fix: add destroyCamera to ThermionViewer interface
This commit is contained in:
@@ -377,8 +377,8 @@ abstract class ThermionViewer {
|
|||||||
{int skinIndex = 0});
|
{int skinIndex = 0});
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Destroys [asset] and all underlying resources
|
/// Destroys [asset] and all underlying resources
|
||||||
/// (including instances, but excluding any manually created material instances).
|
/// (including instances, but excluding any manually created material instances).
|
||||||
///
|
///
|
||||||
Future destroyAsset(ThermionAsset asset);
|
Future destroyAsset(ThermionAsset asset);
|
||||||
|
|
||||||
@@ -597,7 +597,7 @@ abstract class ThermionViewer {
|
|||||||
double viewportX, double viewportY, double x, double y, double z);
|
double viewportX, double viewportY, double x, double y, double z);
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Enable/disable postprocessing effects (anti-aliasing, tone mapping). Disabled by default.
|
/// Enable/disable postprocessing effects (anti-aliasing, tone mapping). Disabled by default.
|
||||||
///
|
///
|
||||||
Future setPostProcessing(bool enabled);
|
Future setPostProcessing(bool enabled);
|
||||||
|
|
||||||
@@ -856,6 +856,11 @@ abstract class ThermionViewer {
|
|||||||
///
|
///
|
||||||
Future<Camera> createCamera();
|
Future<Camera> createCamera();
|
||||||
|
|
||||||
|
///
|
||||||
|
///
|
||||||
|
///
|
||||||
|
Future destroyCamera(covariant Camera camera);
|
||||||
|
|
||||||
///
|
///
|
||||||
///
|
///
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user