@minecraft
    正在准备搜索索引...

    接口 INumberTimelinePropertyItemOptions

    Optional properties for Number Timeline property item

    interface INumberTimelinePropertyItemOptions {
        bounds?: { maxValue: number; minValue: number };
        decimalPrecision?: number;
        disableAddRemoveNodes?: boolean;
        enable?: boolean;
        entries?: INumberTimelinePropertyItemEntry[];
        gridSeparatorSliceCount?: Vector2;
        gridSeparatorStepCount?: Vector2;
        isGraphReadOnly?: boolean;
        onNodeAdded?: (node: INumberTimelinePropertyItemEntry) => void;
        onNodeChanged?: (node: INumberTimelinePropertyItemEntry) => void;
        onNodeRemoved?: (node: INumberTimelinePropertyItemEntry) => void;
        onTimeChanged?: (current: number, prev: number) => void;
        title?: LocalizedString;
        visible?: boolean;
    }

    层级 (查看层级一览)

    索引

    属性

    bounds?: { maxValue: number; minValue: number }

    The data bounds for the value node property

    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.

    gridSeparatorSliceCount?: Vector2

    The separator slice count for the graph thin lines

    gridSeparatorStepCount?: Vector2

    The separator step counts for the graph bold lines

    isGraphReadOnly?: boolean

    True means nodes cannot be dragged or modified

    onNodeAdded?: (node: INumberTimelinePropertyItemEntry) => void

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

    onNodeChanged?: (node: INumberTimelinePropertyItemEntry) => void

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

    onNodeRemoved?: (node: INumberTimelinePropertyItemEntry) => void

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

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

    This callback is called when UI control time is changed.

    Localized title of the property item

    visible?: boolean

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