cleanup unused mat transforms

This commit is contained in:
Nick Fisher
2022-08-15 18:59:58 +10:00
parent 47e37e6ed0
commit 4afea4413c
2 changed files with 7 additions and 38 deletions

View File

@@ -28,6 +28,7 @@ abstract class FilamentController {
Future playAnimations(FilamentAsset asset, List<int> indices, {bool loop = false});
Future stopAnimation(FilamentAsset asset);
Future setCamera(FilamentAsset asset, String name);
Future setTexture(FilamentAsset asset, String assetPath, { int renderableIndex=0});
///
/// Set the weights of all morph targets in the mesh to the specified weights at successive frames (where each frame requires a duration of [frameLengthInMs].
@@ -177,4 +178,8 @@ class PolyvoxFilamentController extends FilamentController {
Future setCamera(FilamentAsset asset, String name) async {
await _channel.invokeMethod("setCamera", [asset, name]);
}
Future setTexture(FilamentAsset asset, String assetPath, { int renderableIndex=0}) async {
await _channel.invokeMethod("setTexture", [asset, assetPath, renderableIndex]);
}
}