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> {
    name: string;
    set(value: T): void;
    value<T2>(): null | T2;
}

Type Parameters

Hierarchy (view full)

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