Class SourceAssetData

The SourceAssetData implements a base class that contains additional data from a source asset that was generated during import. It should be subclasses if needed for a particular type and can be tagged to a Resource when returned as part of an ImportedSubResource during the import process by a resource Importer.

Hierarchy (view full)

Constructors

Accessors

Constructors

  • Parameters

    • OptionalisInternalConstructor: boolean

    Returns SourceAssetData

Accessors

  • get fileSize(): number
  • The size of the source file in bytes.

    Returns number

  • set fileSize(value): void
  • Parameters

    • value: number

    Returns void