.. _api_Bone: Bone ==== Inherited: None .. _api_Bone_description: Description ----------- .. _api_Bone_public: Public Methods -------------- +-------------------------------------+-----------------------------------------------------------------+ | :ref:`TString` | :ref:`name` () const | +-------------------------------------+-----------------------------------------------------------------+ | const :ref:`Vector3` & | :ref:`position` () const | +-------------------------------------+-----------------------------------------------------------------+ | const :ref:`Vector3` & | :ref:`rotation` () const | +-------------------------------------+-----------------------------------------------------------------+ | const :ref:`Vector3` & | :ref:`scale` () const | +-------------------------------------+-----------------------------------------------------------------+ | void | :ref:`setName` (const TString & name) | +-------------------------------------+-----------------------------------------------------------------+ | void | :ref:`setPosition` (const Vector3 position) | +-------------------------------------+-----------------------------------------------------------------+ | void | :ref:`setRotation` (const Vector3 rotation) | +-------------------------------------+-----------------------------------------------------------------+ | void | :ref:`setScale` (const Vector3 scale) | +-------------------------------------+-----------------------------------------------------------------+ | bool | :ref:`operator==` (const Bone & bone) const | +-------------------------------------+-----------------------------------------------------------------+ .. _api_Bone_static: Static Methods -------------- None .. _api_Bone_methods: Methods Description ------------------- .. _api_Bone_a389d074: :ref:`TString` **Bone::name** () const Returns the name of the bone. **See also** setName(). ---- .. _api_Bone_d253b648: const :ref:`Vector3` & **Bone::position** () const Gets the position of the bone. **See also** setPosition(). ---- .. _api_Bone_6be2d384: const :ref:`Vector3` & **Bone::rotation** () const Gets the rotation of the bone. **See also** setRotation(). ---- .. _api_Bone_cb2940e6: const :ref:`Vector3` & **Bone::scale** () const Gets the scale of the bone. **See also** setScale(). ---- .. _api_Bone_923d0f85: void **Bone::setName** (:ref:`TString` & *name*) Sets the *name* of the bone. **See also** name(). ---- .. _api_Bone_23014def: void **Bone::setPosition** (:ref:`Vector3` *position*) Sets the *position* of the bone. **See also** position(). ---- .. _api_Bone_cf27e09b: void **Bone::setRotation** (:ref:`Vector3` *rotation*) Sets the *rotation* of the bone. **See also** rotation(). ---- .. _api_Bone_63de18a4: void **Bone::setScale** (:ref:`Vector3` *scale*) Sets the *scale* of the bone. **See also** scale(). ---- .. _api_Bone_c913b28f: bool **Bone::operator==** (:ref:`Bone` & *bone*) const Overloaded equality operator for comparing two *bone* objects. Returns true if the bones are equal, false otherwise.