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 instantied is the TransformNode. It allows you to group elements through the children property and position them in the 3D space. Any element that dervies directly or indirectly from Node can be added as a child.

  • Node (abstract)

    • TransformNode

Node (abstract)

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

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

TransformNode

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

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