|
| template<typename T> |
| ElementId | add (T &&value) |
| | Add an element to the scene.
|
| |
| void | add_child (ElementId parent_id, ElementId child_id) |
| | Add a child node to a given parent node.
|
| |
◆ add()
template<typename
Scalar, typename Index>
template<typename T>
| 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()
template<typename
Scalar, typename Index>
| 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: