siChannelAction Enum


Enumerations

enum   siChannelAction {
  siChannelActionNone = 0,
  siChannelActionDrive = 1,
  siChannelActionCommand = 2,
  siChannelActionSpecial = 3
}

Detailed 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.
See also:
Channel::Action

Channel::Target


Enumeration Type Documentation

enum siChannelAction

Enumerator:
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,<frame>

ACTIVATE,<driver_ID> (enables a device driver)

DEACTIVATE,<driver_ID> (disables a device driver)