Nameless Engine
Loading...
Searching...
No Matches
ne::EditorNodeCreationHelpers Class Reference

#include <EditorNodeCreationHelpers.hpp>

Static Public Member Functions

template<typename NodeType >
requires std::derived_from<NodeType, Node>
static sgc::GcPtr< NodeType > createEditorNode (const std::string &sNodeName)
 

Detailed Description

Helper tools for creation nodes in the editor.

Member Function Documentation

◆ createEditorNode()

template<typename NodeType >
requires std::derived_from<NodeType, Node>
static sgc::GcPtr< NodeType > ne::EditorNodeCreationHelpers::createEditorNode ( const std::string &  sNodeName)
inlinestatic

Creates an editor-owned node (not a game-owned node) with specific node settings like no node serialization and etc. so that it won't affect the game.

Parameters
sNodeNameName of the node.
Returns
Created node.

The documentation for this class was generated from the following file: