Assimp  v4.1. (December 2018)
jassimp.AiBone Class Reference

A single bone of a mesh. More...

Public Member Functions

List< AiBoneWeightgetBoneWeights ()
 Returns a list of bone weights. More...
 
String getName ()
 Returns the name of the bone. More...
 
int getNumWeights ()
 Returns the number of bone weights. More...
 

Detailed Description

A single bone of a mesh.

A bone has a name by which it can be found in the frame hierarchy and by which it can be addressed by animations. In addition it has a number of influences on vertices.

This class is designed to be mutable, i.e., the returned collections are writable and may be modified.

Member Function Documentation

◆ getBoneWeights()

List<AiBoneWeight> jassimp.AiBone.getBoneWeights ( )
inline

Returns a list of bone weights.

Returns
the bone weights

◆ getName()

String jassimp.AiBone.getName ( )
inline

Returns the name of the bone.

Returns
the name

◆ getNumWeights()

int jassimp.AiBone.getNumWeights ( )
inline

Returns the number of bone weights.

This method exists for compatibility with the native assimp API. The returned value is identical to getBoneWeights().size()

Returns
the number of weights

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