Navigation
API > API/Plugins > API/Plugins/DatasmithTranslator > API/Plugins/DatasmithTranslator/ReferenceMaterials
References
| Module | DatasmithTranslator |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithTranslator/Public/ReferenceMaterials/DatasmithReferenceMaterial.h |
| Include | #include "ReferenceMaterials/DatasmithReferenceMaterial.h" |
Syntax
class FDatasmithReferenceMaterial
Remarks
Represents a material that exposes named parameters for override purpose. Note that this can be a Material or a MaterialInstance.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSet< FString > | BoolParams | ||
| TSet< FString > | ScalarParams | ||
| TSet< FString > | TextureParams | ||
| TSet< FString > | VectorParams |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | FromMaterial
(
UMaterialInterface* InMaterial |
||
| void | FromSoftObjectPath
(
const FSoftObjectPath& InObjectPath |
||
| UMaterialInterface * | GetMaterial () |
||
| bool | IsValid () |