gdk-graphics 0a0aef92e917cfbac53dffbc32c295e4de914093
Loading...
Searching...
No Matches
gdk::graphics::animation::rig_binding Class Referencefinal

a profile resolved against one particular skeleton. More...

#include <profile.h>

Public Member Functions

int bone_for (std::string_view aRole) const
 the bone filling a role, or -1
std::vector< std::size_t > ground_contact_bones () const
 the bones filling the profile's ground contacts, skipping any the rig does not have
std::size_t placed () const
 how many of the profile's roles this rig actually fills
std::size_t bone_count () const
 how many bones the skeleton this was bound against has
const rig_profile & profile () const
 rig_binding (rig_profile aProfile, std::vector< int > aBones, const std::size_t aBoneCount)

Detailed Description

a profile resolved against one particular skeleton.

Constructor & Destructor Documentation

◆ rig_binding()

gdk::graphics::animation::rig_binding::rig_binding ( rig_profile aProfile,
std::vector< int > aBones,
const std::size_t aBoneCount )
Parameters
aBonesfor each of the profile's roles, the bone filling it, or -1
Exceptions
gdk::graphics::exceptionwhere aBones is not one per role, or names a bone past aBoneCount

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