Skip to main content

Create Nodes

Create Nodes from Toolbox

DragYou ancan itemcreate new nodes by dragging items from the Toolbox and dropdropping itthem into the following locations:

  • eitherScene Tree - Inserts the node into the Scenedesired Treeposition to sort the node properly intowithin the scene graph hierarchy.
  • or directly into the render view of the Scene Editor to(Render createView) - Creates the node onat athe specific display coordinate.coordinates where it is dropped.
drawing-5-1717750498.pngdrawing-5-1717750498.png

When adding a node to the scene tree, notekeep the following:following behaviors in mind:

    • Default Placement
      The new node will beis created as the last child of the node ononto which the node is dropped.
    • ToRepositioning
      You modifycan thedrag sceneand treedrop structure,nodes hold the "Ctrl" key while moving the node alongwithin the scene tree to modify the desiredhierarchy. position.While Thedragging, draggeda blue selection line indicates whether the node will be positionedplaced belowas thechild of another node itor wasbetween droppedtwo on.existing nodes.
    • Moving a node along the scene tree without keeping the "Ctrl" key pressed will move the selected node inside the node it was dropped on.


Create Nodes from Imports

DragYou ancan itemcreate nodes by dragging items from a user-defined importimports (a template scene node)nodes) and dropdropping itthem tointo Scene Editor or the Scene Tree.Tree.

drawing-5-1717751024.pngdrawing-5-1717751024.png

Creating Nodes in Scene Editor:Editor
Drag Drop thea template scene node infrom the Imports panel and drop it into the Scene Editor to create an instance of thisthat node at the givendrop location. The new scene node will beis created at the top level of the scene graph.

Creating Nodes in the Scene Tree:Tree
Alternatively, Asyou ancan alternative,drag thea template scene node from Imports canand alsodrop beit droppeddirectly into the Scene Tree. This allows you to the Scene Tree. This way it is possible to hierarchically sortplace the new node intowithin the desired position of the scene graph.graph hierarchy.

When dropping Bitmaps from Imports caninto onlyeither bethe droppedScene onTree an already existing RenderNode or BitmapNode.the InScene this case,Editor, a BitmapBrushAlphaBlendRenderNode2D effect will beis created onautomatically. This node is initialized with a BitmapBrushBlend effect that node referencingreferences the givenselected bitmap.

When adding a node to the scene tree, note the following:

    The new node will be created as the last child of the node on which the node is dropped. To modify the scene tree structure, hold the "Ctrl" key while moving the node along the scene tree to the desired position. Moving a node along the scene tree without keeping the "Ctrl" key pressed will move the selected node inside the node it was dropped on. drawing-4-1730102263.png
    drawing-4-1730102263.png

    Properties of Nodes Created from Imports

    All node properties of a selected node are displayed in "Properties" panel.

    For nodes created from imports, additional properties are available:

      Import Path: Specifies the path to the imported artifact that serves as the source Status:
      > OK: Template exists and type matches
      > New: Parent instance item is linked to a template which was modified by adding new children
      > Missing: Template item cannot be found