getAnimationNames method

  1. @override
Future<List<String>> getAnimationNames(
  1. ThermionEntity entity
)
override

Gets the names of all glTF animations embedded in the specified entity.

Implementation

@override
Future<List<String>> getAnimationNames(ThermionEntity entity) async {
  var names = (await (_shim.getAnimationNames(entity).toDart))
      .toDart
      .map((x) => x.toDart)
      .toList();
  return names;
}