Class ResourceMetaData

Class containing meta-information describing a resource.

Hierarchy (view full)

Constructors

  • Parameters

    • OptionalisInternalConstructor: boolean

    Returns ResourceMetaData

Accessors

  • get affixResourceUUID(): UUID
  • The UUID of the resource that this instance depends on.

    Returns UUID

    The resource may be unavailable in the library.

  • set affixResourceUUID(value): void
  • Parameters

    Returns void

  • get description(): string
  • The description of the Resource.

    Returns string

  • set description(value): void
  • Parameters

    • value: string

    Returns void

  • get displayName(): string
  • The name of the Resource to be displayed.

    Returns string

  • set displayName(value): void
  • Parameters

    • value: string

    Returns void

  • get pathInSourceAsset(): FilePath
  • The path in the source asset when it was imported into the library.

    Returns FilePath

  • get polyverseAssetID(): string
  • The Polyverse Library ID, if imported via Polyverse.

    Returns string

  • get polyverseData(): JsonObject
  • Polyverse specific data, set if imported via Polyverse.

    Returns JsonObject

  • get polyverseLibraryID(): string
  • The Polyverse Library ID, if imported via Polyverse.

    Returns string

  • get sourcePath(): FilePath
  • The absolute file path where the file was imported from the users file system.

    Returns FilePath

  • set sourcePath(value): void
  • Parameters

    Returns void

Methods

  • Gets the affix resource data for the specified key.

    Parameters

    • key: string

    Returns number

  • Gets the affix resource data for the specified key.

    Parameters

    • key: string

    Returns string

  • Sets the affaffixrix resource data key to the specified

    Parameters

    • key: string
    • value: number

    Returns void

  • Sets the affix resource data key to the specified string

    Parameters

    • key: string
    • value: string

    Returns void