RSX Code Reference
    Preparing search index...
    • rsx
    • MaterialResourceMetaData

    Class MaterialResourceMetaData

    Resource meta-data for Material resources.

    Hierarchy (View Summary)

    Index
    • 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: UUID): void

      Parameters

      Returns void

    • get description(): string

      The description of the Resource.

      Returns string

    • set description(value: string): void

      Parameters

      • value: string

      Returns void

    • get displayName(): string

      The name of the Resource to be displayed.

      Returns string

    • set displayName(value: string): void

      Parameters

      • value: string

      Returns void

    • get importOptions(): ImportOptions

      The import options.

      Returns ImportOptions

    • set importOptions(value: ImportOptions): void

      Parameters

      Returns void

    • get importSourceData(): SourceAssetData

      The source asset data, used to regenerate the imported asset.

      Returns SourceAssetData

    • 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 shaderUUID(): UUID

      The UUID of the underlying shader, can be null if a material model is used.

      Returns UUID

    • set shaderUUID(value: UUID): void

      Parameters

      Returns void

    • get sourcePath(): FilePath

      The absolute file path where the file was imported from the users file system.

      Returns FilePath

    • set sourcePath(value: FilePath): void

      Parameters

      Returns void

    • 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