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