Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssetReference<T>

Type parameters

Hierarchy

Index

Constructors

Events

Properties

Accessors

Methods

Constructors

constructor

Events

assetChanged

assetChanged: SyncEvent<AssetChangedEvent> = new SyncEvent<AssetChangedEvent>()

Properties

typeName

typeName: function

Type declaration

    • (): string
    • Returns string

Accessors

asset

  • get asset(): null | T
  • set asset(asset: T | null): void

id

  • get id(): undefined | string
  • set id(id: string | undefined): void

inline

  • get inline(): boolean
  • set inline(inline: boolean): void

resolved

  • get resolved(): boolean

state

Methods

clear

  • clear(): void

detach

  • detach(): void

setAssetFast

  • setAssetFast(asset: T | null): void