Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionAggregate |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionAggregate.h |
| Include Path | #include "Materials/MaterialExpressionAggregate.h" |
Syntax
UCLASS (MinimalAPI, Meta=(NewMaterialTranslator))
class UMaterialExpressionAggregate : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionAggregate
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionAggregate
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionAggregate.h |
Structs
| Name | Remarks |
|---|---|
| FPrevEditData | Used to store the state of the expression before a change was made. |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttributeNames | TArray< FName > | Materials/MaterialExpressionAggregate.h |
|
|
| Entries | TArray< FMaterialExpressionAggregateEntry > | Materials/MaterialExpressionAggregate.h | ||
| Kind | EMaterialExpressionMakeAggregateKind | Materials/MaterialExpressionAggregate.h |
|
|
| PrototypeInput | FExpressionInput | Materials/MaterialExpressionAggregate.h | ||
| UserAggregate | TObjectPtr< UMaterialAggregate > | Materials/MaterialExpressionAggregate.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PreEditData | FPrevEditData | Materials/MaterialExpressionAggregate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UMaterialAggregate * GetAggregate() |
Returns the aggregate currently bound to this expression. | Materials/MaterialExpressionAggregate.h | |
const FMaterialAggregateAttribute * GetAggregateAttribute
(
int32 Index |
Returns the attribute with given index of the aggregate currently bound to this expression. | Materials/MaterialExpressionAggregate.h | |
| Utility function to list the attribute names in the attribute selection combobox. | Materials/MaterialExpressionAggregate.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionAggregate.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionAggregate.h | ||
virtual FExpressionInput * GetInput
(
int32 InputIndex |
Returns the input at index InputIndex if valid, nullptr otherwise. | Materials/MaterialExpressionAggregate.h | |
virtual FName GetInputName
(
int32 InputIndex |
Materials/MaterialExpressionAggregate.h | ||
virtual EMaterialValueType GetInputValueType
(
int32 InputIndex |
Materials/MaterialExpressionAggregate.h | ||
virtual EMaterialValueType GetOutputValueType
(
int32 OutputIndex |
Materials/MaterialExpressionAggregate.h | ||
virtual bool IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. | Materials/MaterialExpressionAggregate.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Materials/MaterialExpressionAggregate.h | ||
virtual void PreEditChange
(
FProperty* PropertyAboutToChange |
Materials/MaterialExpressionAggregate.h |