FMaterialLayersFunctions

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Materials/MaterialLayersFunctions.h"

Syntax

struct FMaterialLayersFunctions

Variables

Name Description

Public variable

TArray< class U...

 

Blends

Public variable

TArray< FGuid >

 

DeletedParentLayerGuids

List of Guids that exist in the parent material that have been explicitly deleted This is needed to distinguish these layers from newly added layers in the parent material

Public variable

TArray< FGuid >

 

LayerGuids

Guid that identifies each layer in this stack

Public variable

TArray< FText >

 

LayerNames

Public variable

TArray< class U...

 

Layers

Public variable

TArray< bool >

 

LayerStates

Public variable

TArray< FGuid >

 

ParentLayerGuids

Refers to the layer in the parent's LayerGuids list used to initialize this layer

Public variable

TArray< bool >

 

RestrictToBlendRelatives

Public variable

TArray< bool >

 

RestrictToLayerRelatives

Constructors

Name Description

Public function

FMaterialLayersFunctions()

Functions

Name Description

Public function

void

 

AddLayerCopy

(
    const FMaterialLayersFunctions& So...,
    int32 SourceLayerIndex,
    const FGuid& ParentGuid
)

Public function

void

 

AppendBlendedLayer()

Public function

void

 

CopyGuidsToParent()

Public function

void

 

Empty()

Public function Const

const ID

 

GetID()

Public function Const

FText

 

GetLayerName

(
    int32 Counter
)

Public function Const

bool

 

GetLayerVisibility

(
    int32 Index
)

Public function Const

FString

 

GetStaticPermutationString()

Lists referenced function packages in a string, intended for use as a static permutation identifier.

Public function Const

bool

 

HasAnyUnlinkedLayers()

Public function

void

 

InsertLayerCopy

(
    const FMaterialLayersFunctions& So...,
    int32 SourceLayerIndex,
    const FGuid& ParentGuid,
    int32 LayerIndex
)

Public function Const

bool

 

IsLayerLinkedToParent

(
    int32 Index
)

Public function

void

 

MoveBlendedLayer

(
    int32 SrcLayerIndex,
    int32 DstLayerIndex
)

Public function

void

 

PostSerialize

(
    const FArchive& Ar
)

Public function

void

 

RelinkLayersToParent()

Public function

void

 

RemoveBlendedLayerAt

(
    int32 Index
)

Public function

bool

 

ResolveParent

(
    const FMaterialLayersFunctions& Pa...,
    TArray< int32 >& OutRemapLayerIndi...
)

Public function

void

 

SerializeForDDC

(
    FArchive& Ar
)

Public function

void

 

SetBlendedLayerVisibility

(
    int32 Index,
    bool InNewVisibility
)

Public function

void

 

ToggleBlendedLayerVisibility

(
    int32 Index
)

Public function

void

 

UnlinkLayerFromParent

(
    int32 Index
)

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FMaterialLayersFunctions& Ot...
)

Public function Const

bool

 

operator==

(
    const FMaterialLayersFunctions& Ot...
)

Classes

Name

Description

Public struct

ID

Serializable ID structure for FMaterialLayersFunctions which allows us to deterministically recompile shaders

Constants

Deprecated Variables

Name Description

Public variable

FString

 

KeyString_DEPRECATED

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