interface AttributeSchema {
    array?: boolean;
    type:
        | "string"
        | "number"
        | "boolean"
        | "rgb"
        | "curve"
        | "json"
        | "vec2"
        | "vec3"
        | "vec4"
        | "entity"
        | "asset"
        | "rgba";
}

Properties

Properties

array?: boolean

True if this attribute is an array of type

type:
    | "string"
    | "number"
    | "boolean"
    | "rgb"
    | "curve"
    | "json"
    | "vec2"
    | "vec3"
    | "vec4"
    | "entity"
    | "asset"
    | "rgba"

The Attribute type