Curvy Generator

Curvy Generator (CG) is a graph-based, modular system for turning spline data into Unity scene content. Common uses:

A Curvy Generator is a GameObject with a CurvyGenerator component. Each CG is represented as a graph: a network of modules, each module representing an action (reading a spline, creating a mesh, etc.). Modules can exchange data via links. Each link connects an input slot of a module with an output slot of another module.

You edit a Curvy Generator graph via a Curvy Generator Editor. Open it by clicking the Edit Graph button in the CG's inspector, or via the Edit button on the toolbar.

Topics

Inspector Reference

Auto Refresh

When enabled, the generator refreshes automatically whenever its inputs change. Disable to refresh only by calling Refresh() from script.

Refresh Delay

Minimum time in milliseconds between two automatic refreshes in Play mode. Use to limit refresh rate for expensive graphs.

Refresh Delay Editor

Minimum time in milliseconds between two automatic refreshes in Edit mode.

Events

OnRefresh

Fired each time the generator finishes a refresh pass. Use to react to updated mesh or object output.

Advanced Settings

Force Frequent Updates

By default Unity calls updates less often in Edit mode. Enable this to force the generator to update at Play mode frequency in Edit mode.

Show Debug

Show debug output in the graph window for each module (execution time, data values).