TextureReference
Inherits from Asset
Summary
Constructors
| TextureReference() |
| TextureReference(guid: Guid) |
| TextureReference(other: Asset) |
| TextureReference(other: DataContainer) |
Properties
| Name | Type |
|---|---|
| texture | TextureAsset | nil |
Static members
| Name | Type |
|---|---|
| TextureReference.typeInfo | TypeInformation |
Constructors
TextureReference
TextureReference()
Creates a new TextureReference frostbite instance.
TextureReference
TextureReference(guid: Guid)
Creates a new TextureReference frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
TextureReference
TextureReference(other: Asset)
Casts an instance of type Asset to TextureReference. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | Asset | The instance to cast to TextureReference. |
TextureReference
TextureReference(other: DataContainer)
Casts an instance of type DataContainer to TextureReference. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to TextureReference. |
Properties
texture
TextureAsset | nil
Static members
typeInfo
The type information for the TextureReference type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)