Helper structure to enable attaching if a type supports it.
More...
|
static void | Attach (std::shared_ptr< Camera > p_element, SceneNodeSPtr p_parent, SceneNodeSPtr p_rootNode, SceneNodeSPtr p_rootCameraNode, SceneNodeSPtr p_rootObjectNode) |
| Attaches an element to the appropriate parent node. More...
|
|
template<>
struct Castor3D::ElementAttacher< Camera >
Helper structure to enable attaching if a type supports it.
- Author
- Sylvain DOREMUS
- Date
- 29/01/2016
- Version
- 0.8.0
◆ Attach()
static void Castor3D::ElementAttacher< Camera >::Attach |
( |
std::shared_ptr< Camera > |
p_element, |
|
|
SceneNodeSPtr |
p_parent, |
|
|
SceneNodeSPtr |
p_rootNode, |
|
|
SceneNodeSPtr |
p_rootCameraNode, |
|
|
SceneNodeSPtr |
p_rootObjectNode |
|
) |
| |
|
inlinestatic |
Attaches an element to the appropriate parent node.
- Parameters
-
[in] | p_element | The scene node. |
[in] | p_parent | The parent scene node. |
[in] | p_rootNode | The root node. |
[in] | p_rootCameraNode | The cameras root node. |
[in] | p_rootObjectNode | The objects root node. |
The documentation for this struct was generated from the following file: