Navigation
API > API/Plugins > API/Plugins/DatasmithContent
Applies material instance data to a material instance if it hasn't changed since the last time we've applied a template. Supports Scalar parameters, Vector parameters, Texture parameters and Static parameters
| Name | UDatasmithMaterialInstanceTemplate |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Public/ObjectTemplates/DatasmithMaterialInstanceTemplate.h |
| Include Path | #include "ObjectTemplates/DatasmithMaterialInstanceTemplate.h" |
Syntax
UCLASS (MinimalAPI)
class UDatasmithMaterialInstanceTemplate : public UDatasmithObjectTemplate
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDatasmithObjectTemplate → UDatasmithMaterialInstanceTemplate
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ParentMaterial | TSoftObjectPtr< UMaterialInterface > | ObjectTemplates/DatasmithMaterialInstanceTemplate.h | ||
| ScalarParameterValues | TMap< FName, float > | ObjectTemplates/DatasmithMaterialInstanceTemplate.h | ||
| StaticParameters | FDatasmithStaticParameterSetTemplate | ObjectTemplates/DatasmithMaterialInstanceTemplate.h | ||
| TextureParameterValues | TMap< FName, TSoftObjectPtr< UTexture > > | ObjectTemplates/DatasmithMaterialInstanceTemplate.h | ||
| VectorParameterValues | TMap< FName, FLinearColor > | ObjectTemplates/DatasmithMaterialInstanceTemplate.h |