Visualization
    Preparing search index...

    Interface ModProperty<T>

    Represents a property owned by the Mod Visualization. The Mod manifest defines the properties owned by the Mod Visualization.

    interface ModProperty<T extends ModPropertyDataType = ModPropertyDataType> {
        name: string;
        set(value: T): void;
        value<T2 extends ModPropertyDataType>(): null | T2;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    name: string

    Gets the name of this instance.

    Methods

    • Set the value of this instance.

      Parameters

      • value: T

        The value to set.

      Returns void