Interface PolytronInputParameter

The PolytronInputParameter interface represents an input parameter.

interface PolytronInputParameter {
    ColorSpace?: "sRGB" | "Linear";
    EnumTypeProvider?: PolytronEnumTypeProvider;
    FileFormatTypes?: string[];
    FriendlyName?: string;
    ID: string;
    Meta?: PolytronObjectMeta;
    Name: string;
    String?: string;
    URL?: string;
    Value?: string | number | boolean;
    VariableType: string;
}

Properties

ColorSpace?: "sRGB" | "Linear"

Defines the output color space. Valid for image types. Default: "sRGB"

EnumTypeProvider?: PolytronEnumTypeProvider

The enum type provider, for enum types.

FileFormatTypes?: string[]
FriendlyName?: string

The friendly name used for display.

ID: string

The unique parameter ID.

The meta data.

Name: string

The unique name, no other parameter on the Polytron may have the same name.

String?: string

The string value, for string types.

URL?: string

The URL for the resource, for resource based types such as images or meshes.

Value?: string | number | boolean

The arithemtic value, for arithemtic types.

VariableType: string

The variable type.