Class DynamicPropertiesDefinitionBeta

Class used in conjunction with PropertyRegistry to define dynamic properties that can be used on entities of a specified type or at the global World- level.

Hierarchy

  • DynamicPropertiesDefinition

Constructors

Methods

  • Parameters

    • identifier: string
    • Optional defaultValue: boolean

    Returns DynamicPropertiesDefinition

    Remarks

    Defines a boolean dynamic property.

    Throws

    This function can throw errors.

  • Parameters

    • identifier: string
    • Optional defaultValue: number

    Returns DynamicPropertiesDefinition

    Remarks

    Defines a number dynamic property.

    Throws

    This function can throw errors.

  • Parameters

    • identifier: string
    • maxLength: number
    • Optional defaultValue: string

    Returns DynamicPropertiesDefinition

    Remarks

    Defines a string dynamic property.

    Throws

    This function can throw errors.