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 UMaterialFunctionInterface * >

 

Blends

Public variable

TArray< FText >

 

LayerNames

Public variable

TArray< class UMaterialFunctionInterface * >

 

Layers

Public variable

TArray< bool >

 

LayerStates

Public variable

TArray< bool >

 

RestrictToBlendRelatives

Public variable

TArray< bool >

 

RestrictToLayerRelatives

Constructors

Name Description

Public function

FMaterialLayersFunctions()

Functions

Name Description

Public function

void

 

AppendBlendedLayer()

Public function Const

const ID

 

GetID()

Public function

FText

 

GetLayerName

(
    int32 Counter
)

Public function

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

void

 

RemoveBlendedLayerAt

(
    int32 Index
)

Public function

void

 

SerializeForDDC

(
    FArchive& Ar
)

Public function

void

 

SetBlendedLayerVisibility

(
    int32 Index,
    bool InNewVisibility
)

Public function

void

 

ToggleBlendedLayerVisibility

(
    int32 Index
)

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FMaterialLayersFunctions& Other
)

Public function Const

bool

 

operator==

(
    const FMaterialLayersFunctions& Other
)

Classes

Name

Description

Public struct

ID

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

Deprecated Variables

Name Description

Public variable

FString

 

KeyString_DEPRECATED

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