FMaterialKey

This helps identify materials that can be collapsed because of equivalence

Windows
MacOS
Linux

References

Module

MeshMergeUtilities

Header

/Engine/Source/Developer/MeshMergeUtilities/Public/MeshMergeDataTracker.h

Include

#include "MeshMergeDataTracker.h"

Syntax

struct FMaterialKey

Remarks

This helps identify materials that can be collapsed because of equivalence

Lookup key for materials. Sometimes the same material is used with different masks so there must be unique resource per material/mask combination

Variables

Name Description

Public variable

const FVector2D

 

ImageSize

Public variable

int32

 

MaskKey

Public variable

const UMaterial...

 

Material

Public variable

TWeakObjectPtr<...

 

Material

Constructors

Name Description

Public function

FMaterialKey

(
    const UMaterialInterface* InMa...
)

Public function

FMaterialKey

(
    const UMaterialInterface* InMa...,
    const FVector2D& InImageSize,
    int32 InMaskKey
)

Operators

Name Description

Public function

bool

 

operator==

(
    const FMaterialKey& Other
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss