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