Bone¶
Inherited: None
Description¶
Public Methods¶
name () const |
|
const Vector3 & |
position () const |
const Vector3 & |
rotation () const |
const Vector3 & |
scale () const |
void |
setName (const TString & name) |
void |
setPosition (const Vector3 position) |
void |
setRotation (const Vector3 rotation) |
void |
setScale (const Vector3 scale) |
bool |
operator== (const Bone & bone) const |
Static Methods¶
None
Methods Description¶
TString Bone::name () const
Returns the name of the bone.
See also setName().
const Vector3 & Bone::position () const
Gets the position of the bone.
See also setPosition().
const Vector3 & Bone::rotation () const
Gets the rotation of the bone.
See also setRotation().
const Vector3 & Bone::scale () const
Gets the scale of the bone.
See also setScale().
void Bone::setName (TString & name)
Sets the name of the bone.
See also name().
void Bone::setPosition (Vector3 position)
Sets the position of the bone.
See also position().
void Bone::setRotation (Vector3 rotation)
Sets the rotation of the bone.
See also rotation().
void Bone::setScale (Vector3 scale)
Sets the scale of the bone.
See also scale().
bool Bone::operator== (Bone & bone) const
Overloaded equality operator for comparing two bone objects. Returns true if the bones are equal, false otherwise.