FMaterialListItem

A Material item in a material list slot

Windows
MacOS
Linux

References

Module

PropertyEditor

Header

/Engine/Source/Editor/PropertyEditor/Public/MaterialList.h

Include

#include "MaterialList.h"

Syntax

struct FMaterialListItem

Remarks

A Material item in a material list slot

Variables

Name Description

Public variable

bool

 

bCanBeReplaced

Whether or not this material can be replaced by a new material

Public variable

TWeakObjectPtr<...

 

Material

Material being used

Public variable

int32

 

SlotIndex

Slot on a component where this material is at (mesh element)

Constructors

Name Description

Public function

FMaterialListItem

(
    UMaterialInterface* InMaterial,
    uint32 InSlotIndex,
    bool bInCanBeReplaced
)

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FMaterialListItem& Other
)

Public function Const

bool

 

operator==

(
    const FMaterialListItem& 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