Skip to content

Key Features

NCMcClure edited this page Feb 26, 2025 · 1 revision

Getting Starting → Key Features


Node to Code integrates seamlessly into any Blueprint Editor toolbar, providing immediate access to code translation with a single click. The plugin's core translation feature is powered by K2Node/K2Pin collection and serialization systems that capture:

  • Complete execution flows

  • Data connections and pin types

  • Node metadata and comments

  • Variable references and their contexts

  • Custom function and macro implementations

  • And much more

    Node to Code Blueprint on left, UI with code translation on right

The plugin offers flexible API integration with multiple LLM providers:

Cloud-Based Providers

  • Anthropic (Claude)
    • Recommended: Claude 3.5 Sonnet for superior Unreal Engine C++ output
    • Advanced understanding of UE-specific patterns and conventions
    • Excellent handling of complex Blueprint structures
  • OpenAI
    • Support for latest GPT models
    • Configurable temperature and token settings
    • Strong general code translation capabilities
  • DeepSeek
    • Cost-effective alternative
    • Specialized code generation models
    • Growing support for UE-specific patterns

Local Processing

  • Ollama Integration

    • Run translations entirely locally
    • Support for various open-source models
    • Customizable inference parameters
    • No API costs or internet dependency

    Node to Code supported LLM AI Providers

The plugin can automatically traverse and translate nested K2Node & K2Pin Blueprint graphs:

  • Configurable Depth: Set how deep the translator should go (0-5 levels)

  • Processes User-Created Graphs:

    • Functions
    • Composite (collapsed) graphs
    • Macros
    • Math Expressions

    Node to Code visualizing nested blueprint translation

Built-in code preview and editing capabilities via the Node to Code Editor UI:

  • Syntax Highlighting

    • Basic syntax highlighting for all built-in target languages
  • Editor Features

    • View code for headers/implementation
    • Implementation notes panel
    • Quick copy functionality
    • Variety of built-in themes
    • Add or customize themes via plugin settings
    • Font size adjustment

    Node to Code theme options

Improve translation accuracy by providing context from your existing codebase through the plugin settings:

  • Add .h and .cpp files as references

  • Guide the LLM to match your coding style

  • Maintain project-specific patterns

    Node to Code source file reference

Clone this wiki locally