Skip to main content
Skip table of contents

Nodes

The nodes properties contains all elements of the scene graph. The elements described in the following sections inherit form the base node, meaning they support the properties described here as well. The most basic type that can be instantiated is the TransformNode. It allows you to group elements through the children property and position them in the 3D space. Any element that derives directly or indirectly from Node can be added as a child.

  • Node (abstract)

    • TransformNode

Node (abstract)

JSON
{
    "type" : "Node",
    "name" : string,
    "children" : [ Node, ... ]
}

babylon.js reference: https://doc.babylonjs.com/typedoc/classes/babylon.node

TransformNode

JSON
{
    "type" : "TransformNode",
    "position" : [ number, number, number ],
    "rotation" : [ number, number, number ],
    "scaling" : [ number, number, number ],
}

babylon.js reference: https://doc.babylonjs.com/typedoc/classes/babylon.transformnode

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.