Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionOperator |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionOperator.h |
| Include Path | #include "Materials/MaterialExpressionOperator.h" |
Syntax
UCLASS (MinimalAPI, Meta=(NewMaterialTranslator))
class UMaterialExpressionOperator : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionOperator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionOperator
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionOperator.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Arity | uint32 | Default Number of Inputs | Materials/MaterialExpressionOperator.h | |
| bAllowAddPin | bool | If the current operator allows Add a Pin feature | Materials/MaterialExpressionOperator.h | |
| DynamicInputs | TArray< FMaterialExpressionOperatorInput > | Array of Inputs | Materials/MaterialExpressionOperator.h |
|
| Operator | EMaterialExpressionOperatorKind | Default Operator | Materials/MaterialExpressionOperator.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddInputPin() |
Materials/MaterialExpressionOperator.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionOperator.h | |
virtual bool CanDeletePin
(
EEdGraphPinDirection PinDirection, |
Checks if a pin of specified PinDirection and PinIndex can be deleted | Materials/MaterialExpressionOperator.h | |
virtual int32 CountInputs() |
Counts the number of inputs this expression has. Default implementation has O(n) complexity. | Materials/MaterialExpressionOperator.h | |
virtual void DeletePin
(
EEdGraphPinDirection PinDirection, |
Deletes the pin of specified PinDirection and PinIndex. | Materials/MaterialExpressionOperator.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionOperator.h | ||
virtual FText GetCreationName() |
Materials/MaterialExpressionOperator.h | ||
virtual FExpressionInput * GetInput
(
int32 InputIndex |
Returns the input at index InputIndex if valid, nullptr otherwise. | Materials/MaterialExpressionOperator.h | |
virtual FName GetInputName
(
int32 InputIndex |
Materials/MaterialExpressionOperator.h | ||
virtual FText GetKeywords() |
Returns the keywords that should be used when searching for this expression | Materials/MaterialExpressionOperator.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Materials/MaterialExpressionOperator.h | ||
virtual void PostLoad() |
Materials/MaterialExpressionOperator.h |