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)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback