|
| template<typename T > |
| ElementId | add (T &&value) |
| | Add an element to the scene. More...
|
| |
| void | add_child (ElementId parent_id, ElementId child_id) |
| | Add a child node to a given parent node. More...
|
| |
◆ add()
| ElementId add |
( |
T && |
value | ) |
|
Add an element to the scene.
- Parameters
-
| value | The element to add. It can be node, mesh, image, texture, material, light, camera, skeleton or animation. |
- Returns
- The element id of the added element.
◆ add_child()
| void add_child |
( |
ElementId |
parent_id, |
|
|
ElementId |
child_id |
|
) |
| |
Add a child node to a given parent node.
The parent-child relationship will be updated for both nodes.
- Parameters
-
| parent_id | The parent node id. |
| child_id | The child node id. |
The documentation for this struct was generated from the following files: