From 89cdf5e52d63b79169648384bc8695923533b0d5 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Fri, 27 Sep 2024 15:12:14 +0800 Subject: [PATCH] feat: add setParameterFloat2 method --- thermion_dart/lib/src/viewer/src/shared_types/material.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/thermion_dart/lib/src/viewer/src/shared_types/material.dart b/thermion_dart/lib/src/viewer/src/shared_types/material.dart index 8fad022a..95bdf568 100644 --- a/thermion_dart/lib/src/viewer/src/shared_types/material.dart +++ b/thermion_dart/lib/src/viewer/src/shared_types/material.dart @@ -1,6 +1,7 @@ abstract class MaterialInstance { Future setDepthWriteEnabled(bool enabled); Future setDepthCullingEnabled(bool enabled); + Future setParameterFloat2(String name, double x, double y); } enum AlphaMode { OPAQUE, MASK, BLEND }