Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionMaterialFunctionCall |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionMaterialFunctionCall.h |
| Include Path | #include "Materials/MaterialExpressionMaterialFunctionCall.h" |
Syntax
UCLASS (HideCategories=object, MinimalAPI)
class UMaterialExpressionMaterialFunctionCall : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionMaterialFunctionCall
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionMaterialFunctionCall
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionMaterialFunctionCall.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FunctionInputs | TArray< struct FFunctionExpressionInput > | Array of all the function inputs that this function exposes. | Materials/MaterialExpressionMaterialFunctionCall.h | |
| FunctionOutputs | TArray< struct FFunctionExpressionOutput > | Array of all the function outputs that this function exposes. | Materials/MaterialExpressionMaterialFunctionCall.h | |
| FunctionParameterInfo | FMaterialParameterInfo | Used by material parameters to split references to separate instances. | Materials/MaterialExpressionMaterialFunctionCall.h |
|
| MaterialFunction | TObjectPtr< class UMaterialFunctionInterface > | The function to call. | Materials/MaterialExpressionMaterialFunctionCall.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SavedMaterialFunction | UMaterialFunctionInterface * | Stashed data between a Pre/PostEditChange event | Materials/MaterialExpressionMaterialFunctionCall.h | |
| SharedCompileState | FMaterialFunctionCompileState * | Temporary compilation state shared between function calls | Materials/MaterialExpressionMaterialFunctionCall.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetDependentFunctions
(
TArray< UMaterialFunctionInterface* >& DependentFunctions |
Materials/MaterialExpressionMaterialFunctionCall.h | ||
FName GetInputNameWithType
(
int32 InputIndex, |
Util to get name of a particular type, optionally with type appended in parenthesis | Materials/MaterialExpressionMaterialFunctionCall.h | |
bool IterateDependentFunctions
(
TFunctionRef< bool(UMaterialFunctionInterface*)> Predicate |
Materials/MaterialExpressionMaterialFunctionCall.h | ||
void LinkFunctionIntoCaller
(
FMaterialCompiler* Compiler |
Materials/MaterialExpressionMaterialFunctionCall.h | ||
void PopParameterOwner
(
FMaterialCompiler* Compiler |
Materials/MaterialExpressionMaterialFunctionCall.h | ||
void PushParameterOwner
(
FMaterialCompiler* Compiler |
Materials/MaterialExpressionMaterialFunctionCall.h | ||
virtual bool SetMaterialFunction
(
UMaterialFunctionInterface* NewMaterialFunction |
Materials/MaterialExpressionMaterialFunctionCall.h |
|
|
bool SetMaterialFunctionEx
(
UMaterialFunctionInterface* OldFunctionResource, |
Set a new material function, given an old function so that links can be passed over if the name matches. | Materials/MaterialExpressionMaterialFunctionCall.h | |
void SetSharedCompileState
(
FMaterialFunctionCompileState* SharedState |
Temporary compilation state shared between function calls | Materials/MaterialExpressionMaterialFunctionCall.h | |
void UnlinkFunctionFromCaller
(
FMaterialCompiler* Compiler |
Materials/MaterialExpressionMaterialFunctionCall.h | ||
void UpdateFromFunctionResource
(
bool bRecreateAndLinkNode |
Update FunctionInputs and FunctionOutputs from the MaterialFunction. | Materials/MaterialExpressionMaterialFunctionCall.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionMaterialFunctionCall.h | |
virtual void GatherSubstrateMaterialInfo
(
FSubstrateMaterialInfo& SubstrateMaterialInfo, |
Recursively parse nodes outputing Substrate material in order to gather all the possible shading models used in a material graph output a Substrate material. | Materials/MaterialExpressionMaterialFunctionCall.h | |
virtual void GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionMaterialFunctionCall.h | |
virtual void GetConnectorToolTip
(
int32 InputIndex, |
Get a tooltip for the specified connector. | Materials/MaterialExpressionMaterialFunctionCall.h | |
virtual FString GetDescription() |
Get a single line description of the material expression (used for lists) | Materials/MaterialExpressionMaterialFunctionCall.h | |
virtual void GetExpressionToolTip
(
TArray< FString >& OutToolTip |
Get a tooltip for the expression itself. | Materials/MaterialExpressionMaterialFunctionCall.h | |
virtual FExpressionInput * GetInput
(
int32 InputIndex |
Returns the input at index InputIndex if valid, nullptr otherwise. | Materials/MaterialExpressionMaterialFunctionCall.h | |
virtual FName GetInputName
(
int32 InputIndex |
Materials/MaterialExpressionMaterialFunctionCall.h | ||
virtual TArrayView< FExpressionInput * > GetInputsView() |
Materials/MaterialExpressionMaterialFunctionCall.h | ||
virtual EMaterialValueType GetInputValueType
(
int32 InputIndex |
Materials/MaterialExpressionMaterialFunctionCall.h | ||
virtual bool IsInputConnectionRequired
(
int32 InputIndex |
Materials/MaterialExpressionMaterialFunctionCall.h | ||
virtual bool IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. | Materials/MaterialExpressionMaterialFunctionCall.h | |
virtual bool IsResultSubstrateMaterial
(
int32 OutputIndex |
Marks certain expression types as outputting Substrate material. | Materials/MaterialExpressionMaterialFunctionCall.h | |
virtual bool MatchesSearchQuery
(
const TCHAR* SearchQuery |
MatchesSearchQuery: Check this expression to see if it matches the search query | Materials/MaterialExpressionMaterialFunctionCall.h | |
virtual FSubstrateOperator * SubstrateGenerateMaterialTopologyTree
(
FMaterialCompiler* Compiler, |
A starta material is a tree with FrontMateiral being its root and BSDF being leaves, with operators in the middle. | Materials/MaterialExpressionMaterialFunctionCall.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Materials/MaterialExpressionMaterialFunctionCall.h | ||
virtual void PostLoad() |
Materials/MaterialExpressionMaterialFunctionCall.h | ||
virtual void PreEditChange
(
FProperty* PropertyAboutToChange |
Materials/MaterialExpressionMaterialFunctionCall.h |