.. _api_Pose: Pose ==== Inherited: :ref:`Resource` .. _api_Pose_description: Description ----------- .. _api_Pose_public: Public Methods -------------- +-------------------------------+-------------------------------------------------------+ | void | :ref:`addBone` (const Bone & bone) | +-------------------------------+-------------------------------------------------------+ | const :ref:`Bone` * | :ref:`bone` (int index) const | +-------------------------------+-------------------------------------------------------+ | int | :ref:`boneCount` () const | +-------------------------------+-------------------------------------------------------+ | void | :ref:`clear` () | +-------------------------------+-------------------------------------------------------+ .. _api_Pose_static: Static Methods -------------- None .. _api_Pose_methods: Methods Description ------------------- .. _api_Pose_1ef5ba2d: void **Pose::addBone** (:ref:`Bone` & *bone*) Adds a *bone* to the pose. ---- .. _api_Pose_0fbe35c8: const :ref:`Bone` * **Pose::bone** (int *index*) const Returns a bone with index. **Note:** Returns nullptr in case no such bone. ---- .. _api_Pose_8f63e74a: int **Pose::boneCount** () const Returns the count of bones for the current pose which was affected. ---- .. _api_Pose_f246a15e: void **Pose::clear** () Removes all bones from pose.