
v4.0
Sets or returns the muted state of the operator as a Boolean (true=mute; false=active).
Warning: You can read this property from within the update function
of a custom operator but setting this property is blocked.
// get accessor Boolean rtn = Operator.Mute; // set accessor Operator.Mute = Boolean; |
/*
This example demonstrates how to mute an operator.
*/
NewScene( null, false );
// Create a cone and apply the twist operator to it
var cone = Application.ActiveSceneRoot.AddGeometry( "Cone", "NurbsSurface" );
var op = ApplyOp( "Twist", cone )(0);
// Mute the twist operator
op.Mute = true;
|