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