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