Houdini 20.5 Nodes APEX nodes

ch::CollectionReduceKeys

Reduces the keys of the channels in a collection while maintaining their shape.

On this page
Since 20.0

Reduces the number of keys of each channel in a collection to a minimum such that the resulting channels never deviate more than tolerance from the original channels.

Inputs

inchannels: ApexChannelCollection

A collection of channels to be reduced.

samplerate: Float

The frequency at which to sample the channels for reduction.

tolerance: Float

The maximum deviation allowed in each channel.

preserveextrema: Bool

If set to True, preserves the extrema of the original channels.

Outputs

outchannels: ApexChannelCollection

A copy of inchannels after each channel has undergone key reduction.

See also

APEX nodes