Navigation
Unreal Engine C++ API Reference > Developer > MaterialUtilities
References
Module | MaterialUtilities |
Header | /Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h |
Include | #include "MaterialUtilities.h" |
Syntax
struct FMaterialMergeData
Remarks
Intermediate material merging data
Variables
Type | Name | Description |
---|---|---|
FUniformBufferR... | Buffer | |
float | EmissiveScale | Output emissive scale, maximum baked out emissive value (used to scale other samples, 1/EmissiveScale * Sample) |
FLightMapRef | LightMap | |
int32 | LightMapIndex | |
const FSkeletal... | LODData | LODModel data used to bake out the material with, optional |
UMaterialInterf... | Material | Input data Material that is being baked out |
int32 | MaterialIndex | Material index to use when the material is baked out using mesh data (face material indices) |
const FMeshDesc... | Mesh | Raw mesh data used to bake out the material with, optional |
FExportMaterial... | ProxyCache | Material proxy cache, eliminates shader compilations when a material is baked out multiple times for different meshes |
FShadowMapRef | ShadowMap | |
FBox2D | TexcoordBounds | Optional tex coordinate bounds of original texture coordinates set |
const TArray< F... | TexCoords | Optional new set of non-overlapping texture coordinates |
Constructors
Type | Name | Description |
---|---|---|
FMaterialMergeData ( UMaterialInterface* InMaterial, const FMeshDescription* InMesh, const FSkeletalMeshLODRenderData&#..., int32 InMaterialIndex, FBox2D InTexcoordBounds, const TArray< FVector2D >& InTexCo... ) |
Destructors
Type | Name | Description |
---|---|---|
~FMaterialMergeData () |