Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionPinBase
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionPinBase.h |
| Include | #include "Materials/MaterialExpressionPinBase.h" |
Syntax
class UMaterialExpressionPinBase : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< EEdGraphPinDirection > | PinDirection | Direction of the pins for this base. | |
| TArray< FCompositeReroute > | ReroutePins | Underlying reroute pins used to compile material. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionPinBase
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Helper function to clear all reroutes. |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| void | ConnectExpression
(
FExpressionInput* Input, |
Connects the specified input expression to the specified output of this expression. | |
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| FExpressionInput * | GetInput
(
int32 InputIndex |
||
| FName | GetInputName
(
int32 InputIndex |
||
| TArrayView< FExpressionInput * > | Get the expression inputs supported by this expression (Note: property inputs NOT included). | ||
| uint32 | GetInputType
(
int32 InputIndex |
||
| TArray< FExpressionOutput > & | GetOutputs () |
Get the outputs supported by this expression. | |
| uint32 | GetOutputType
(
int32 OutputIndex |
||
| bool | IsExpressionConnected
(
FExpressionInput* Input, |
Check if input exppresion is directly connected to the material. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | Modify
(
bool bAlwaysMarkDirty |
Note that the object will be modified. | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
This is called when a property is about to be modified externally |