SkillAgentSearch skills...

VisualScriptingTool

Simplifies some procedural stuff, useful for Technical artists.

Install / Use

/learn @OVPavlov/VisualScriptingTool
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

VisualScriptingTool

Simplifies some procedural stuff, useful for Technical artists.

  • procedural animation
  • procedural generation
  • partial customization of your pipelines

Easy to add properties in the inspector of the graph

inspector

Nodes adapt to the type of your input

Types

Easy to add graph in your code in order to give designers more control over some stages of execution

public NodeDataInput InspectorValues; // if you want user to add properties in the inspector (optional)
public NodeData Data;
Node _inputNode;
Node _outputNode;

void Initialize()
{
    if (Data == null) return;

    // specify Nodes that must be input and output of your graph (optional)
    Data.BeginInputInit();
    _inputNode = Data.CteateInput(ValueType.Vector2, "Position");
    _outputNode = Data.CteateOutput(ValueType.Color, "Color");
    Data.EndInputInit();

    // if you want user to add properties in the inspector (optional)
    if (InspectorValues == null) InspectorValues = new NodeDataInput();
    InspectorValues.InitializeFrom(Data);
}

void Update(Vector2 position, out Color color)
{
    InspectorValues.SetTo(Data); // reload user created properties from the inspector (optional)
    Data.SetVector2(_inputNode, position);
    Data.Process();
    color = Data.GetColor(_outputNode);
}

Examples

procedural mesh.mp4<br> tiled fire texture.mp4<br> stardome.mp4

Related Skills

View on GitHub
GitHub Stars9
CategoryDevelopment
Updated1y ago
Forks1

Languages

C#

Security Score

75/100

Audited on Jan 14, 2025

No findings