add setMaterialDepthWrite method
This commit is contained in:
@@ -599,6 +599,12 @@ abstract class ThermionViewer {
|
||||
Future setMaterialPropertyInt(ThermionEntity entity, String propertyName,
|
||||
int materialIndex, int value);
|
||||
|
||||
///
|
||||
/// Sets the depthWrite material instance at [materialIndex] for [entity] to [enabled].
|
||||
/// [entity] must have a Renderable attached.
|
||||
///
|
||||
Future setMaterialDepthWrite(ThermionEntity entity, int materialIndex, bool enabled);
|
||||
|
||||
///
|
||||
/// Scale [entity] to fit within the unit cube.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user