Navigation
API > API/Plugins > API/Plugins/CustomizableObjectEditor > API/Plugins/CustomizableObjectEditor/MuCOE > API/Plugins/CustomizableObjectEditor/MuCOE/Nodes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UCustomizableObjectNode
- UCustomizableObjectNodeMaterialBase
- UCustomizableObjectNodeMaterial
- UCustomizableObjectNodeCopyMaterial
References
| Module | CustomizableObjectEditor |
| Header | /Engine/Plugins/Experimental/Mutable/Source/CustomizableObjectEditor/Classes/MuCOE/Nodes/CustomizableObjectNodeMaterial.h |
| Include | #include "MuCOE/Nodes/CustomizableObjectNodeMaterial.h" |
Syntax
UCLASS&40;&41;
class UCustomizableObjectNodeMaterial : public UCustomizableObjectNodeMaterialBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bReuseMaterialBetweenLODs | Reuse material between LODs when using the LODStrategy - Automatic from mesh. | |
| TObjectPtr< UMaterialInterface > | Material | ||
| int32 | MeshComponentIndex | Selects which Mesh component of the Instance this material belongs to | |
| FPostImagePinModeChangedDelegate | PostImagePinModeChangedDelegate | Delegate called when a Texture Parameter Pin Mode changes. | |
| TArray< FString > | Tags | ||
| ENodePinMode | TextureParametersMode |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UTexture2D * | GetImageReferenceTexture
(
int32 ImageIndex |
Returns the reference texture assigned to a Material Texture Parameter. | |
| int32 | GetImageUVLayout
(
int32 ImageIndex |
Get the Material Texture Parameter UV index. | |
| UTexture2D * | GetImageValue
(
int32 ImageIndex |
Returns the Texture set in the Material Texture Parameter. | |
| UEdGraphPin * | |||
| UEdGraphPin * | GetMeshPin () |
||
| int32 | GetNumParameters
(
EMaterialParameterType Type |
ALL PARAMETERS Returns the number of Material Parameters. | |
| FGuid | GetParameterId
(
EMaterialParameterType Type, |
Returns the Material Parameter id. | |
| int32 | GetParameterLayerIndex
(
EMaterialParameterType Type, |
Get the Material Parameter layer index. | |
| FText | GetParameterLayerName
(
EMaterialParameterType Type, |
Get the Material Parameter layer name. | |
| FName | GetParameterName
(
EMaterialParameterType Type, |
Returns the Material Parameter name. | |
| const UEdGraphPin * | GetParameterPin
(
EMaterialParameterType Type, |
Get the Vector pin for the given Material Vector Parameter. Not all parameters have pin. | |
| bool | HasParameter
(
const FGuid& ParameterId |
Returns true if the Material contains the given Material Parameter. | |
| bool | IsImageMutableMode
(
const UEdGraphPin& Pin |
Given an Image pin, returns true if the Material Texture Parameter goes through Mutable. | |
| bool | IsImageMutableMode
(
int32 ImageIndex |
IMAGES PARAMETERS Returns true if the Material Texture Parameter goes through Mutable. | |
| bool | Return true if a Material Parameter has changed on which we had a pin connected or data saved. | ||
| void | Update all Material Texture Parameters Mode. | ||
| void | UpdateImagePinMode
(
const FGuid ParameterId |
Update a Material Texture Parameter Mode. | |
| void | UpdateImagePinMode
(
const UEdGraphPin& Pin |
Update a Material Texture Parameter Mode. |
Overridden from UCustomizableObjectNodeMaterialBase
| Type | Name | Description | |
|---|---|---|---|
| TArray< class UCustomizableObjectLayout * > | GetLayouts () |
||
| UEdGraphPin * | OutputPin () |
This method should be overidden in all derived classes. |
Overridden from UCustomizableObjectNode
| Type | Name | Description | |
|---|---|---|---|
| void | AllocateDefaultPins
(
UCustomizableObjectNodeRemapPins* RemapPins |
Specialization of AllocateDefaultPins UEdGraphNode function. | |
| void | Add backwards compatible code here. | ||
| void | BreakExistingConnectionsPostConnection
(
UEdGraphPin* InputPin, |
Allow only one connection to a single BaseObjec node. | |
| bool | CanConnect
(
const UEdGraphPin* InOwnedInputPin, |
Check if two pins can be connected. | |
| bool | CanPinBeHidden
(
const UEdGraphPin& Pin |
Return true if a pin can be hidden. Override it to have a custom behaivour. | |
| UCustomizableObjectNodeRemapPinsByName * | Creates and returns the node default node remap pins action. | ||
| TSharedPtr< SWidget > | CustomizePinDetails
(
UEdGraphPin& Pin |
Returns pin custom details. Override if required. | |
| bool | CustomRemovePin
(
UEdGraphPin& Pin |
Virtual implementation of RemovePin. | |
| FString | |||
| bool | |||
| bool | IsPinRelevant
(
const UEdGraphPin* Pin |
||
| void | Add post load work here. | ||
| bool | |||
| void | ReconstructNode
(
UCustomizableObjectNodeRemapPins* RemapPinsMode |
Specialization of ReconstructNode UEdGraphNode function. |
Overridden from UEdGraphNode
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< SGraphNode > | Create a visual widget to represent this node in a graph editor or graph panel. | ||
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
Gets the name of this node, shown in title bar | |
| FLinearColor | Gets the draw color of a node's title bar | ||
| FText | Gets the tooltip to display when over the node | ||
| void | PinConnectionListChanged
(
UEdGraphPin* Pin |
Called when the connection list of one of the pins of this node is changed in the editor | |
| void | Perform any fixups (deep copies of associated data, etc...) necessary after a node has been pasted in the editor |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Constants
| Name | Description |
|---|---|
| ParameterTypes |