resetBones method

  1. @override
Future resetBones(
  1. ThermionEntity entity
)
override

Implementation

@override
Future resetBones(ThermionEntity entity) async {
  if (_viewer == nullptr) {
    throw Exception("No viewer available, ignoring");
  }
  await withVoidCallback((cb) {
    reset_to_rest_pose_ffi(_sceneManager!, entity, cb);
  });
}