|
@@ -99,6 +99,8 @@ public:
|
|
|
|
|
|
|
|
/// Return skeleton.
|
|
/// Return skeleton.
|
|
|
Skeleton& GetSkeleton() { return skeleton_; }
|
|
Skeleton& GetSkeleton() { return skeleton_; }
|
|
|
|
|
+ /// Return the node of a skeleton bone (for script access)
|
|
|
|
|
+ Node* GetSkeletonBoneNode(const String& boneName);
|
|
|
|
|
|
|
|
/// Return all animation states.
|
|
/// Return all animation states.
|
|
|
const Vector<SharedPtr<AnimationState> >& GetAnimationStates() const { return animationStates_; }
|
|
const Vector<SharedPtr<AnimationState> >& GetAnimationStates() const { return animationStates_; }
|