Castor3D  ..
Static Public Member Functions | List of all members
Castor3D::ElementAttacher< SceneNode > Struct Template Reference

Helper structure to enable attaching if a type supports it. More...

Static Public Member Functions

static void Attach (std::shared_ptr< SceneNode > p_element, SceneNodeSPtr p_parent, SceneNodeSPtr p_rootNode, SceneNodeSPtr p_rootCameraNode, SceneNodeSPtr p_rootObjectNode)
 Attaches an element to the appropriate parent node. More...
 

Detailed Description

template<>
struct Castor3D::ElementAttacher< SceneNode >

Helper structure to enable attaching if a type supports it.

Author
Sylvain DOREMUS
Date
29/01/2016
Version
0.8.0
Remarks
Specialisation for SceneNode.

Member Function Documentation

◆ Attach()

static void Castor3D::ElementAttacher< SceneNode >::Attach ( std::shared_ptr< SceneNode 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_elementThe scene node.
[in]p_parentThe parent scene node.
[in]p_rootNodeThe root node.
[in]p_rootCameraNodeThe cameras root node.
[in]p_rootObjectNodeThe objects root node.

The documentation for this struct was generated from the following file: