Operator.Mute operator

Introduced

v4.0

Description

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.

C# Syntax

// get accessor
Boolean rtn = Operator.Mute;
// set accessor
Operator.Mute = Boolean;

Examples

JScript Example

/*
	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;