Your Ad Here

Reference XPresso XPresso Nodes Common MonoFlop Operator

MonoFlop Operator

Basic Node Parameter

Parameters

The following input ports are available:

Trigger

This port takes a Bool value and is used for starting the countdown.

Time

This port enables you to, for example, connect a Time node to the MonoFlop. The Time node can then be used to control the speed of the countdown.

Duration

Controls the duration of the countdown. If you set this value in the Attribute manager, enter the duration in frames. However, if you connect, say, a Constant node to this port, the value defines the duration time in seconds.

The MonoFlop node is in this example is enabled every nine frames. The MonoFlop node then remains active for 0.2 seconds before becoming inactive again.

The switching shown above activates the MonoFlop node every ninth frame while the animation is playing. The MonoFlop will remain active for 0.2 seconds bevore being deactivated and set to wait for the next activation.

Reset

If this port receives a Bool value of 1, the node’s internal counter is reset to 0.

The following output ports are available:

Out

Outputs a Bool value of 1 if a countdown is in progress. Otherwise, the port outputs a value of 0.

Count [-2147483647..2147483647]

Outputs the total number of times that the node has been triggered. You can reset this counter by passing a value of 0 to the Reset input port.

State [-10000000..10000000]

If the node is currently counting down, this port outputs a decimal value between 0.0 and 1.0 that indicates how far the countdown has progressed. For example, if the countdown is 30% of the way through the countdown, this port will output the value 0.3. If, on the other hand, the node is disabled, the port outputs the value 0.

Return to CINEMA 4D Index


Your Ad Here