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