ue_pcg_add_node
Add a node to a PCG graph by specifying its settings class and graph path, then returns the node's pins for further connections.
Instructions
Aggiunge un nodo al grafo PCG e restituisce i suoi pin.
In PCG il tipo di un nodo è la sua classe di settings: un SurfaceSampler
è un nodo con PCGSurfaceSamplerSettings, uno spawner di mesh ha
PCGStaticMeshSpawnerSettings. La convenzione è sempre
PCG<Nome>Settings.
Args: graph_path: path dell'asset PCGGraph. settings_class: es. "PCGSurfaceSamplerSettings", "PCGStaticMeshSpawnerSettings", "PCGCreatePointsGridSettings", "PCGDensityFilterSettings". position: posizione nell'editor del grafo, {"x": .., "y": ..} o [x, y]. Serve solo alla leggibilità per chi apre il grafo a mano.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | ||
| graph_path | Yes | ||
| settings_class | Yes |