getBone method
Future<ThermionEntity>
getBone(
- ThermionEntity entity,
- int boneIndex, {
- int skinIndex = 0,
override
Gets the entity representing the bone at boneIndex
/skinIndex
.
The returned entity is only intended for use with getWorldTransform.
Implementation
@override
Future<ThermionEntity> getBone(ThermionEntity entity, int boneIndex,
{int skinIndex = 0}) async {
var result = await _shim.getBone(entity, boneIndex, skinIndex).toDart;
return result.toDartInt;
}