Houdini 22.0 Nodes APEX nodes

component::ChannelToPort

Evaluates the channels of a node or port from a driver value.

On this page
Since 22.0

Maps a driver value to a time in an animation clip and evaluates the channels stored for a control or port at that time. The driver value is fit from the min to max range onto the start to end clip range, so moving the driver plays back the clip.

The channels are found by name in the channels collection:

This subgraph is used by the Set Driven Keys rig component, which builds one node per driven control or port.

Inputs

channels: AnimChannelCollection

The channel collection to evaluate.

name: String

The base name of the channels to evaluate.

time: Float

The driver value, for example the value of a slider or of a control’s translate component.

min: Float

The driver value that maps to the start of the clip.

max: Float

The driver value that maps to the end of the clip.

start: Float

The start time of the clip, in seconds.

end: Float

The end time of the clip, in seconds.

uset: Bool

If set to True, evaluates the translate channels. If set to False, the translate of local is 0.

user: Bool

If set to True, evaluates the rotate channels. If set to False, the rotate of local is 0.

uses: Bool

If set to True, evaluates the scale channels. If set to False, the scale of local is 1.

usefloat: Bool

If set to True, evaluates the <name> channel into the float output.

usevec: Bool

If set to True, evaluates the <name>x, <name>y, and <name>z channels into the vector output.

usebool: Bool

If set to True, evaluates the <name> channel into the bool output.

useint: Bool

If set to True, evaluates the <name> channel into the int output.

rord: Int

The rotation order used to build the local transform. Set this to the rotation order of the driven control.

Outputs

local: Matrix4

The local transform built from the translate, rotate, and scale channels.

float: Float

The value of the <name> channel.

vector: Vector3

The values of the <name>x, <name>y, and <name>z channels.

bool: Bool

The value of the <name> channel, converted to a Bool.

int: Int

The value of the <name> channel, converted to an Int.

APEX nodes