FMaterialsWithDirtyUsageFlags

Struct used for annotations when a materials 'used with' flags have changed and need saving

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/Material.h

Include

#include "Materials/Material.h"

Syntax

struct FMaterialsWithDirtyUsageFlags

Remarks

Struct used for annotations when a materials 'used with' flags have changed and need saving

Variables

Name Description

Public variable

uint32

 

MaterialFlagsThatHaveChanged

Store the flags that have been changed since last save, each bit represents a flag

Constructors

Functions

Name Description

Public function

bool

 

IsDefault()

Determine if this annotation is the default

Public function

bool

 

IsUsageFlagDirty

(
    EMaterialUsage UsageFlag
)

Query the annotation to see if the specified flag has been changed

Public function

void

 

MarkUsageFlagDirty

(
    EMaterialUsage UsageFlag
)

Mark the specificed flag as changed in this annotation

Constants

Name

Description

DefaultAnnotation

Default state for annotations (no flags changed)

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