Bone

Inherited: None

Description

Public Methods

int

index () const

const Vector3 &

position () const

const Vector3 &

rotation () const

const Vector3 &

scale () const

void

setIndex (int index)

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

int Bone::index () const

Gets the index of the bone.

See also setIndex().


const :ref:`Vector3<api_Vector3>`& Bone::position () const

Gets the position of the bone.

See also setPosition().


const :ref:`Vector3<api_Vector3>`& Bone::rotation () const

Gets the rotation of the bone.

See also setRotation().


const :ref:`Vector3<api_Vector3>`& Bone::scale () const

Gets the scale of the bone.

See also setScale().


void Bone::setIndex (int index)

Sets the index of the bone.

See also *index*().


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 *bone*s are equal, false otherwise.