siChannelAction

Description

A device driver contains a set of channels that can be configured. This enumeration is the type of action to perform for a channel.

C# Syntax

siChannelAction.siChannelActionNone                                         // 0
siChannelAction.siChannelActionDrive                                        // 1
siChannelAction.siChannelActionCommand                                      // 2
siChannelAction.siChannelActionSpecial                                      // 3

Constant Value Description
siChannelActionNone 0 Nothing to do with the channel.
siChannelActionDrive 1 Drive a parameter of a scene object.

If you choose this type of action, you can set the Channel.Target property to any valid expression (for example, "current.kine.local.posx").
siChannelActionCommand 2 Fire a command.

If you choose this type of action, you can set the Channel.Target property to the name of the command to launch through this channel. This can be either a native Softimage command or a custom command.
siChannelActionSpecial 3 Other action (Special).

If you choose this type of action, you can set the Channel.Target property to any of these special keywords:

TIMELINE (drives the timeline)

TIME_START (goes to the first frame)

TIME_END (goes to the last frame)

TIME_STEP_FORWARD (goes to the next frame)

TIME_STEP_BACK (goes to the previous frame)

TIME_STOP (stops the playback)

TIME_PLAY_NORMAL (real time playback from current frame)

TIME_PLAY_FRAME (real time playback from first frame)

TIME_PLAY_SLIDE (plays all frames from current frame on)

TIME_SPECIFY,

ACTIVATE, (enables a device driver)

DEACTIVATE, (disables a device driver)

Applies To

Channel.Action

See Also

Channel.Target