Kale
Loading...
Searching...
No Matches
Public Attributes | List of all members
Kale::Skeleton::Bone Struct Reference

#include <SkeletalAnimatable.hpp>

Public Attributes

Transform worldToBone
 
Transform previousToBone
 
Transform inverseWorldToBone
 
int previousBone
 
float length
 
float rotation
 

Detailed Description

A structure containing a single bone in a skeleton

Definition at line 40 of file SkeletalAnimatable.hpp.

Member Data Documentation

◆ inverseWorldToBone

Transform Kale::Skeleton::Bone::inverseWorldToBone

The inverse matrix of worldToBone

Definition at line 55 of file SkeletalAnimatable.hpp.

◆ length

float Kale::Skeleton::Bone::length

The length of this bone

Definition at line 65 of file SkeletalAnimatable.hpp.

◆ previousBone

int Kale::Skeleton::Bone::previousBone

The index of the previous bone, -1 if this is the base

Definition at line 60 of file SkeletalAnimatable.hpp.

◆ previousToBone

Transform Kale::Skeleton::Bone::previousToBone

Transforms from the previous bone's coordinate space to this bone's coordinate space

Definition at line 50 of file SkeletalAnimatable.hpp.

◆ rotation

float Kale::Skeleton::Bone::rotation

The rotation of this bone in radians

Definition at line 70 of file SkeletalAnimatable.hpp.

◆ worldToBone

Transform Kale::Skeleton::Bone::worldToBone

Transforms from the world coordinate space to the bone's coordinate space

Definition at line 45 of file SkeletalAnimatable.hpp.


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