interface AnimationActionPoint<ValueType extends AnimatableValueTypes> {
    s?: number;
    se?: number;
    sm?: number;
    sme?: number;
    v: ValueType | (progress: number) => ValueType;
}

Type Parameters

Properties

Properties

s?: number

Slope

The slope (value per progress unit, 0 means flat, positive means 'curving upwards', negative means 'curving downwards' )

0

se?: number

Slope end

Outgoing curve sloop, if different from (incoming) slope (s)

0

sm?: number

Smoothness

Smoothness of the curve around the point

AnimationActionPointMap.sm if provided, otherwise 0.5

sme?: number

Smooth end

Outgoing curve smoothness, if different from (incoming) smoothness (sm)

v: ValueType | (progress: number) => ValueType

Value

Exact value at control point

0