Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionMaterialAttributeLayers
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionMaterialAttributeLayers.h |
Include | #include "Materials/MaterialExpressionMaterialAttributeLayers.h" |
Syntax
class UMaterialExpressionMaterialAttributeLayers : public UMaterialExpression
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bIsLayerGraphBuilt | |
![]() |
TArray< TObjectPtr< UMaterialExpressionMaterialFunctionCall > > | BlendCallers | |
![]() |
FMaterialLayersFunctions | DefaultLayers | |
![]() |
FMaterialAttributesInput | Input | |
![]() |
TArray< TObjectPtr< UMaterialExpressionMaterialFunctionCall > > | LayerCallers | |
![]() |
int32 | NumActiveBlendCallers | |
![]() |
int32 | NumActiveLayerCallers |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionMaterialAttributeLayers
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const TArray< UMaterialFunctionInterface * > & | GetBlends () |
|
![]() ![]() |
void | GetDependentFunctions
(
TArray< UMaterialFunctionInterface* >& DependentFunctions |
|
![]() ![]() |
const TArray< FGuid > & | ||
![]() ![]() |
const TArray< FText > & | ||
![]() ![]() |
const TArray< UMaterialFunctionInterface * > & | GetLayers () |
|
![]() ![]() |
const TArray< bool > & | ||
![]() ![]() |
UMaterialFunctionInterface * | GetParameterAssociatedFunction
(
const FHashedMaterialParameterInfo& ParameterInfo |
|
![]() ![]() |
const TArray< bool > & | ||
![]() ![]() |
const TArray< bool > & | ||
![]() ![]() |
bool | IterateDependentFunctions
(
TFunctionRef< bool(UMaterialFunctionInterface*)> Predicate |
|
![]() |
void | OverrideLayerGraph
(
const FMaterialLayersFunctions* OverrideLayers |
|
![]() |
void | RebuildLayerGraph
(
bool bReportErrors |
|
![]() |
bool | ValidateLayerConfiguration
(
FMaterialCompiler* Compiler, |
Overridden from UMaterialExpression
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression |
![]() ![]() ![]() |
bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
|
![]() ![]() ![]() |
void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). |
![]() ![]() |
void | GetExpressionToolTip
(
TArray< FString >& OutToolTip |
Get a tooltip for the expression itself. |
![]() ![]() ![]() |
FName | GetInputName
(
int32 InputIndex |
|
![]() ![]() |
uint32 | GetInputType
(
int32 InputIndex |
|
![]() ![]() ![]() |
bool | IsInputConnectionRequired
(
int32 InputIndex |
|
![]() ![]() |
bool | IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |