API

Interface IFlowGraphInterpolationBlockConfiguration

Configuration for the interpolation block.

interface IFlowGraphInterpolationBlockConfiguration {
    animationType?: any;
    duration?: number;
    keyFramesCount?: number;
    propertyName?: string | string[];
}

Hierarchy (View Summary)

Index
animationType?: any

The type of the animation to create. Default is ANIMATIONTYPE_FLOAT This cannot be changed after construction, so make sure to pass the right value.

duration?: number

The duration of the interpolation.

keyFramesCount?: number

The number of keyframes to interpolate between. Will default to 1 if not provided (i.e. from currentValue to a provided value in the time provided)

propertyName?: string | string[]

The name of the property that will be interpolated.