Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
AeonGames::Skeleton::Joint Class Reference

A single joint within a skeleton hierarchy. More...

#include <aeongames/Skeleton.hpp>

Collaboration diagram for AeonGames::Skeleton::Joint:
Collaboration graph

Public Member Functions

 Joint (Joint *aParent, const Transform &aTransform, const Transform &aInvertedTransform, const std::string &aName)
 Construct a joint.
DLL const TransformGetTransform () const
 Get the local bind-pose transform.
DLL const TransformGetInvertedTransform () const
 Get the inverse bind-pose transform.
DLL const JointGetParent () const
 Get the parent joint.

Detailed Description

A single joint within a skeleton hierarchy.

Definition at line 33 of file Skeleton.hpp.

Constructor & Destructor Documentation

◆ Joint()

AeonGames::Skeleton::Joint::Joint ( Joint * aParent,
const Transform & aTransform,
const Transform & aInvertedTransform,
const std::string & aName )

Construct a joint.

Parameters
aParentPointer to the parent joint, or nullptr for a root joint.
aTransformThe local bind-pose transform.
aInvertedTransformThe inverse bind-pose transform.
aNameName of the joint.

Definition at line 35 of file Skeleton.cpp.

Member Function Documentation

◆ GetInvertedTransform()

const Transform & AeonGames::Skeleton::Joint::GetInvertedTransform ( ) const

Get the inverse bind-pose transform.

Returns
Const reference to the inverted transform.

Definition at line 45 of file Skeleton.cpp.

◆ GetParent()

const Skeleton::Joint * AeonGames::Skeleton::Joint::GetParent ( ) const

Get the parent joint.

Returns
Pointer to the parent joint, or nullptr for a root joint.

Definition at line 50 of file Skeleton.cpp.

◆ GetTransform()

const Transform & AeonGames::Skeleton::Joint::GetTransform ( ) const

Get the local bind-pose transform.

Returns
Const reference to the transform.

Definition at line 40 of file Skeleton.cpp.


The documentation for this class was generated from the following files: