Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
Joint Struct Reference

Describes a single bone node in the skeleton joint hierarchy. More...

#include <Skeleton.hpp>

Public Attributes

std::string name
 Joint name identifier.
int parentIndex = -1
 Parent joint array index (-1 if root).
glm::mat4 inverseBindMatrix = glm::mat4(1.0f)
 Inverse bind transform matrix mapping geometry to bone local space.
glm::mat4 localTransform = glm::mat4(1.0f)
 Local animation pose transform (Translation * Rotation * Scale).
glm::vec3 bindTranslation = glm::vec3(0.0f)
glm::quat bindRotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f)
glm::vec3 bindScale = glm::vec3(1.0f)

Detailed Description

Describes a single bone node in the skeleton joint hierarchy.

Member Data Documentation

◆ bindRotation

glm::quat Joint::bindRotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f)

◆ bindScale

glm::vec3 Joint::bindScale = glm::vec3(1.0f)

◆ bindTranslation

glm::vec3 Joint::bindTranslation = glm::vec3(0.0f)

◆ inverseBindMatrix

glm::mat4 Joint::inverseBindMatrix = glm::mat4(1.0f)

Inverse bind transform matrix mapping geometry to bone local space.

◆ localTransform

glm::mat4 Joint::localTransform = glm::mat4(1.0f)

Local animation pose transform (Translation * Rotation * Scale).

◆ name

std::string Joint::name

Joint name identifier.

◆ parentIndex

int Joint::parentIndex = -1

Parent joint array index (-1 if root).


The documentation for this struct was generated from the following file: