Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionPinBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionPinBase.h |
| Include Path | #include "Materials/MaterialExpressionPinBase.h" |
Syntax
UCLASS (MinimalAPI)
class UMaterialExpressionPinBase : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionPinBase
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionPinBase
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionPinBase.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PinDirection | TEnumAsByte< EEdGraphPinDirection > | Direction of the pins for this base. | Materials/MaterialExpressionPinBase.h | |
| ReroutePins | TArray< FCompositeReroute > | Underlying reroute pins used to compile material. | Materials/MaterialExpressionPinBase.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PreEditRereouteExpresions | TArray< UMaterialExpressionReroute * > | Used to remove reroute expressions from the material after we remove them. | Materials/MaterialExpressionPinBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DeleteReroutePins() |
Helper function to clear all reroutes. | Materials/MaterialExpressionPinBase.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanUserDeleteExpression() |
Materials/MaterialExpressionPinBase.h | ||
virtual void ConnectExpression
(
FExpressionInput* Input, |
Connects the specified input expression to the specified output of this expression. | Materials/MaterialExpressionPinBase.h | |
virtual void GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionPinBase.h | |
virtual FExpressionInput * GetInput
(
int32 InputIndex |
Returns the input at index InputIndex if valid, nullptr otherwise. | Materials/MaterialExpressionPinBase.h | |
virtual FName GetInputName
(
int32 InputIndex |
Materials/MaterialExpressionPinBase.h | ||
virtual TArrayView< FExpressionInput * > GetInputsView() |
Materials/MaterialExpressionPinBase.h | ||
virtual EMaterialValueType GetInputValueType
(
int32 InputIndex |
Materials/MaterialExpressionPinBase.h | ||
virtual TArray< FExpressionOutput > & GetOutputs() |
Materials/MaterialExpressionPinBase.h | ||
virtual EMaterialValueType GetOutputValueType
(
int32 OutputIndex |
Materials/MaterialExpressionPinBase.h | ||
virtual bool IsAllowedIn
(
const UObject* MaterialOrFunction |
Returns whether the creation of this expression is allowed in a given material or material function | Materials/MaterialExpressionPinBase.h | |
virtual bool IsExpressionConnected
(
FExpressionInput* Input, |
Check if input exppresion is directly connected to the material. | Materials/MaterialExpressionPinBase.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Modify
(
bool bAlwaysMarkDirty |
Materials/MaterialExpressionPinBase.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Materials/MaterialExpressionPinBase.h | ||
virtual void PreEditChange
(
FProperty* PropertyAboutToChange |
Materials/MaterialExpressionPinBase.h |