Open plugin settings
In Unreal Editor, go to Edit → Project Settings → Plugins → Node to Code.All plugin configuration lives here, including your LLM provider selection, API keys, target output language, and theming options.
Select an LLM provider
Under LLM Provider, choose one of the following:
| Provider | Best for |
|---|---|
| Anthropic | Best default choice; Claude 4 Sonnet is selected by default |
| OpenAI | Broad model selection; o4 Mini is a good cost-efficient option |
| Gemini | Gemini 2.5 Flash offers excellent price-to-performance |
| DeepSeek | Cost-effective cloud option with strong reasoning (R1) |
| Ollama | Fully offline; no API key required |
| LM Studio | Fully offline; no API key required |
Ollama and LM Studio run models locally on your machine. No data leaves your network, making them a good choice for proprietary codebases. See LLM providers for setup instructions.
Enter your API key
After selecting a cloud provider, expand the corresponding section (for example, LLM Services → Anthropic) and paste your API key into the API Key field.API keys are stored in user secrets, separate from the project configuration file, so they are not committed to source control.
Open a Blueprint
Double-click any Blueprint asset in the Content Browser to open it in the Blueprint Editor. Node to Code works with any Blueprint type: Actor, Component, Function Library, and so on.
Select nodes
Click and drag to select the nodes you want to translate. To translate the entire graph, press Ctrl+A (Windows) or Cmd+A (Mac) to select all nodes.If no nodes are selected, the plugin translates the full visible graph.
Click Node to Code
Click the Node to Code button in the Blueprint Editor toolbar. The plugin will:
- Analyze the selected graph structure
- Serialize it to a compact JSON representation
- Send the request to your configured provider
- Display the result when the response arrives
View the output
The translated code appears in the Node to Code output window, which docks inside the Unreal Editor. The window includes:
- Syntax highlighting (with multiple built-in themes)
- Implementation notes explaining key C++ patterns
- A copy button to transfer the code to your clipboard
Saved/NodeToCode/Translations/ in your project directory.Next steps
LLM providers
Detailed setup guides for each supported provider, including Ollama and LM Studio.
Translating Blueprints
Advanced usage: nested graph depth, reference source files, and output language options.