-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
The plugin offers flexible API integration with multiple LLM 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
-
Ollama Integration
- Run translations entirely locally
- Support for various open-source models
- Customizable inference parameters
- No API costs or internet dependency
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
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
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