Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionCustom |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionCustom.h |
| Include Path | #include "Materials/MaterialExpressionCustom.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, MinimalAPI)
class UMaterialExpressionCustom : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionCustom
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionCustom
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionCustom.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AdditionalDefines | TArray< struct FCustomDefine > | Materials/MaterialExpressionCustom.h |
|
|
| AdditionalOutputs | TArray< struct FCustomOutput > | Materials/MaterialExpressionCustom.h |
|
|
| Code | FString | Materials/MaterialExpressionCustom.h |
|
|
| Description | FString | Materials/MaterialExpressionCustom.h |
|
|
| IncludeFilePaths | TArray< FString > | Materials/MaterialExpressionCustom.h |
|
|
| Inputs | TArray< struct FCustomInput > | Materials/MaterialExpressionCustom.h |
|
|
| OutputType | TEnumAsByte< enum ECustomMaterialOutputType > | Materials/MaterialExpressionCustom.h |
|
|
| ShowCode | bool | Materials/MaterialExpressionCustom.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RebuildOutputs() |
Materials/MaterialExpressionCustom.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionCustom.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionCustom.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionCustom.h | ||
virtual FText GetCreationName() |
Materials/MaterialExpressionCustom.h | ||
virtual void GetIncludeFilePaths
(
TSet< FString >& OutIncludeFilePaths |
Materials/MaterialExpressionCustom.h | ||
virtual FExpressionInput * GetInput
(
int32 InputIndex |
Returns the input at index InputIndex if valid, nullptr otherwise. | Materials/MaterialExpressionCustom.h | |
virtual FName GetInputName
(
int32 InputIndex |
Materials/MaterialExpressionCustom.h | ||
virtual TArrayView< FExpressionInput * > GetInputsView() |
Materials/MaterialExpressionCustom.h | ||
virtual EMaterialValueType GetInputValueType
(
int32 InputIndex |
Materials/MaterialExpressionCustom.h | ||
virtual EMaterialValueType GetOutputValueType
(
int32 OutputIndex |
Materials/MaterialExpressionCustom.h | ||
virtual bool IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. | Materials/MaterialExpressionCustom.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Materials/MaterialExpressionCustom.h | ||
virtual void Serialize
(
FStructuredArchive::FRecord Record |
Materials/MaterialExpressionCustom.h |