Saga3D API Documentation
1.0-RC4
|
Go to the documentation of this file.
5 #ifndef __I_BONE_SCENE_NODE_H_INCLUDED__
6 #define __I_BONE_SCENE_NODE_H_INCLUDED__
43 IBoneSceneNode(
const std::shared_ptr<ISceneNode>& parent,
const std::shared_ptr<ISceneManager>& mgr) :
63 virtual void onAnimate(
const float time) = 0;
IBoneSceneNode(const std::shared_ptr< ISceneNode > &parent, const std::shared_ptr< ISceneManager > &mgr)
Type for list of scene node animators.
@ LOCAL
local skinning, standard
virtual const core::aabbox3d< float > & getBoundingBox() const =0
Get the axis aligned bounding box of this node.
virtual E_BONE_ANIMATION_MODE getAnimationMode() const =0
Gets the current animation mode of the bone.
virtual bool setAnimationMode(E_BONE_ANIMATION_MODE mode)=0
Sets the animation mode of the bone.
@ AUTOMATIC
The bone is usually animated, unless it's parent is not animated.
virtual void setSkinningSpace(E_BONE_SKINNING_SPACE space)=0
How the relative transformation of the bone is used.
std::int32_t rotationHint
E_BONE_ANIMATION_MODE
Enumeration for different bone animation modes.
Interface for bones used for skeletal animation.
virtual void onAnimate(const float time)=0
Returns the relative transformation of the scene node.
virtual E_BONE_SKINNING_SPACE getSkinningSpace() const =0
How the relative transformation of the bone is used.
virtual void updateAbsolutePositionOfAllChildren()=0
Updates the absolute position based on the relative and the parents position.
std::int32_t positionHint
@ UNANIMATED
The bone is not animated by the skin.
virtual std::uint32_t getBoneIndex() const =0
Get the index of the bone.