تحرير

مشاركة عبر


DimensionTypes Class

Used for accessing all available dimension types. Currently only works with Vanilla dimensions.

Methods

get

static get(dimensionTypeId: string): DimensionType | undefined

Retrieves a dimension type using a string-based identifier. Currently only works with Vanilla dimensions.

Parameters

  • dimensionTypeId: string

Returns DimensionType | undefined

Notes:

  • This function can be called in early-execution mode.

getAll

static getAll(): DimensionType[]

Retrieves an array of all dimension types. Currently only works with Vanilla dimensions.

Returns DimensionType[]

Notes:

  • This function can be called in early-execution mode.