Navigation
API > API/Plugins > API/Plugins/TextureGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UTG_Node
References
| Module | TextureGraph |
| Header | /Engine/Plugins/Experimental/TextureGraph/Source/TextureGraph/Public/TG_Node.h |
| Include | #include "TG_Node.h" |
Syntax
UCLASS ()
class UTG_Node : public UObject
Remarks
A Node in the graph Created from the graph Expose the Input and Output pins
UTG_Node is created from a UTG_Graph
Variables
| Type | Name | Description | |
|---|---|---|---|
| FTG_NodeEditorData | EditorData | ||
| TArray< TObjectPtr< UTG_Pin > > | Pins | Accessors for pins of the node All the pins are stored packed in the |
|
| TSet< FName > | WarningStack |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FTG_Variant::EType | Eval the common variant type used by the expression (only if it is variant) The common variant type is found as the type that superseeds all the variant input arguments currently fed from other nodes | ||
| int32 | ForEachInputPins
(
std::function< void(const UTG_Pin*, uint32)> visitor |
Iterate through all the Input OR Output pins in this node, return the number traversed. | |
| int32 | ForEachOutputPins
(
std::function< void(const UTG_Pin*, uint32)> visitor |
||
| int | GetAllOutputValues
(
TArray< FTG_Texture >& OutTextures, |
Get all the output's values which are compatible with FTG_Texture along with their names optionally | |
| int | GetAllOutputValues
(
TArray< FTG_Variant >& OutVariants, |
Accessors for output values after evaluation Only valid AFTER Evaluation of the graph Get all the output's values which are compatible with FTG_Variant along with their names optionally | |
| UTG_Expression * | The expression owned by this node. | ||
| FTG_Variant::EType | Get the current common variant type of the expression only valid for expression with FTG_Variant arguments | ||
| UTG_Graph * | GetGraph () |
The Graph in which this node exists. | |
| FTG_Id | GetId () |
Get the Uuid for this node. | |
| UTG_Pin * | GetInputPin
(
FTG_Name& name |
||
| UTG_Pin * | GetInputPinAt
(
FTG_Index inIndex |
||
| FTG_Id | GetInputPinID
(
FTG_Name& Name |
||
| FTG_Id | GetInputPinIdAt
(
FTG_Index inIndex |
Get pin Id from index in each scope. | |
| TArray< FTG_Id > | |||
| int32 | GetInputPins
(
TArray< const UTG_Pin* >& OutPins |
Collect the input / output pins. | |
| int32 | GetInputPins
(
TArray< UTG_Pin* >& OutPins |
||
| TArray< FTG_Id > | |||
| FTG_Name | GetNodeName () |
Node name is the title name of the inner expression. | |
| UTG_Pin * | GetOutputPin
(
FTG_Name& name |
||
| UTG_Pin * | GetOutputPinAt
(
FTG_Index outIndex |
||
| FTG_Id | GetOutputPinID
(
FTG_Name& Name |
||
| FTG_Id | GetOutputPinIdAt
(
FTG_Index outIndex |
||
| TArray< FTG_Id > | |||
| int32 | GetOutputPins
(
TArray< UTG_Pin* >& OutPins |
||
| int32 | GetOutputPins
(
TArray< const UTG_Pin* >& OutPins |
||
| TArray< FTG_Id > | |||
| UTG_Pin * | |||
| UTG_Pin * | |||
| TArray< FName > | Return the array of alias name of all the pins. | ||
| FTG_Id | Get/Find the Pin Id for Pins of this Node from its Argument Name. | ||
| UTG_Pin * | GetPrivatePin
(
FTG_Name& name |
||
| UTG_Pin * | GetPrivatePinAt
(
FTG_Index privateIndex |
||
| FTG_Id | GetPrivatePinID
(
FTG_Name& Name |
||
| FTG_Id | GetPrivatePinIdAt
(
FTG_Index privateIndex |
||
| TArray< FTG_Id > | |||
| const FTG_Signature & | GetSignature () |
Signature of the node and predicates about the pins of the node. | |
| bool | HasInputs () |
||
| bool | HasOutputs () |
||
| bool | HasPrivates () |
||
| bool | IsInputParam () |
||
| bool | |||
| bool | IsParam () |
||
| FString | LogHead () |
||
| FString | |||
| void | NotifyGraphOfNodeChange
(
bool bIsTweaking |
Trigger notification to the graph that the node pin's value (default input or output) has changed | |
| void | OnExpressionChangedWithoutVar
(
const FPropertyChangedEvent& PropertyChangedEvent |
||
| void | OnPinConnectionChanged
(
FTG_Id InPinId, |
||
| void | OnPinConnectionUndo
(
FTG_Id InPinId |
||
| void | OnPinRenamed
(
FTG_Id InPinId, |
||
| void | OnPostUndo () |
||
| void | |||
| bool | Validate
(
MixUpdateCyclePtr Cycle |
Validate internal checks, warnings and errors. | |
| void | ValidateGenerateConformer
(
UTG_Pin* NewPin |
Validate that the node conforms to a conformant function coming from the Expression. | |
| FName | ValidateGeneratePinAliasName
(
FName CandidateName, |
Check that a candidate Pin's alias name is unique in the Node's Pins And in the Graph's Param Pins if it is a Param. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostEditUndo () |
Called after applying a transaction to the object. | |
| void | Override Serialize method of UObject. |