Class ResourceEntryMetaData

The ResourceEntryMetaData is an Editor only class that provides meta-data information for a Resource as stored in the ProjectLibrary.

Hierarchy

  • FrameworkObject
    • ResourceEntryMetaData

Constructors

Accessors

  • get cachedImportSourcePath(): FilePath
  • Get and Set the source path of the asset this entry was imported from, if any.

    Returns FilePath

    The returned object is part of ResourceMetaData. To make changes to the ResourceMetaData load the resource and edit the meta data directly. Call ProjectLibrary.save to persist any changes. Otherwise the changes will be lost if the resource is loaded into memory, discarded or saved.

  • get editorData(): any
  • Non-specific data assigned to the resource, available in editor only.

    Returns any

  • get importerType(): Type
  • Returns the resource type that determine which importer will be used for importing the asset at sourcePath/

    Returns Type

  • get type(): Type
  • Type information of the resource referenced by this entry.

    Returns Type

  • get uuid(): UUID
  • Unique identifier of the resource.

    Returns UUID