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