getBoneNames method

  1. @override
Future<List<String>> getBoneNames(
  1. ThermionEntity entity, {
  2. int skinIndex = 0,
})
override

Gets the names of all bones for the armature at skinIndex under the specified entity.

Implementation

@override
Future<List<String>> getBoneNames(ThermionEntity entity,
    {int skinIndex = 0}) async {
  var result = await _shim.getBoneNames(entity, skinIndex).toDart;
  return result.toDart.map((n) => n.toDart).toList();
}