Navigation
API > API/Runtime > API/Runtime/Engine
Whether we need some data export from a Substrate material from spatially varying properties, e.g. diffuse color for Lighmass to generate lightmaps.
| Name | ESubstrateMaterialExport |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialCompiler.h |
| Include Path | #include "MaterialCompiler.h" |
Syntax
enum ESubstrateMaterialExport
{
SME_None = 0,
SME_BaseColorPostCoverage = 1,
SME_BaseColor = 2,
SME_Normal = 3,
SME_Emissive = 4,
SME_Specular = 5,
SME_Roughness = 6,
SME_Anisotropy = 7,
SME_Metallic = 8,
SME_Transmittance = 9,
SME_Opacity = 10,
SME_OpacityMask = 11,
SME_CustomData0 = 12,
SME_CustomData1 = 13,
SME_SubsurfaceColor = 14,
SME_Tangent = 15,
SME_ShadingModel = 16,
SME_MaterialPreview = 17,
}
Values
| Name | Remarks |
|---|---|
| SME_None | |
| SME_BaseColorPostCoverage | |
| SME_BaseColor | |
| SME_Normal | |
| SME_Emissive | |
| SME_Specular | |
| SME_Roughness | |
| SME_Anisotropy | |
| SME_Metallic | |
| SME_Transmittance | |
| SME_Opacity | |
| SME_OpacityMask | |
| SME_CustomData0 | |
| SME_CustomData1 | |
| SME_SubsurfaceColor | |
| SME_Tangent | |
| SME_ShadingModel | |
| SME_MaterialPreview |