Script API - v1.21.120.21
    Preparing search index...

    Interface IColorTimelinePropertyItemOptions

    Optional properties for Color Timeline property item

    interface IColorTimelinePropertyItemOptions {
        decimalPrecision?: number;
        disableAddRemoveNodes?: boolean;
        enable?: boolean;
        entries?: IColorTimelinePropertyItemEntry[];
        isGraphReadOnly?: boolean;
        onNodeAdded?: (node: IColorTimelinePropertyItemEntry) => void;
        onNodeChanged?: (node: IColorTimelinePropertyItemEntry) => void;
        onNodeRemoved?: (node: IColorTimelinePropertyItemEntry) => void;
        onTimeChanged?: (current: number, prev: number) => void;
        renderGradientBackground?: boolean;
        showAlpha?: boolean;
        title?: LocalizedString;
        visible?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    decimalPrecision?: number

    Custom precision for the calculations

    disableAddRemoveNodes?: boolean

    If true, nodes cannot be added or removed

    enable?: boolean

    Initial enabled state of property item. If undefined, it will default to true.

    List of nodes entries in the color timeline.

    isGraphReadOnly?: boolean

    True means nodes cannot be dragged or modified

    onNodeAdded?: (node: IColorTimelinePropertyItemEntry) => void

    Callback triggered when a new RGBA node is added to the timeline.

    onNodeChanged?: (node: IColorTimelinePropertyItemEntry) => void

    Callback triggered when a timeline node's RGBA value changes.

    onNodeRemoved?: (node: IColorTimelinePropertyItemEntry) => void

    Callback triggered when an RGBA node is removed from the timeline. *

    onTimeChanged?: (current: number, prev: number) => void

    This callback is called when UI control time is changed.

    renderGradientBackground?: boolean

    Flag that enables gradient background color on the timeline to be rendered, default is true

    showAlpha?: boolean

    False means the alpha elements will not be shown in the color picker

    Localized title of the property item

    visible?: boolean

    Initial visibility state of property item. If undefined, it will default to true.