switchEffectWithSlot method
Load contents of a DeepAR Studio file as an effect/filter in the scene
Implementation
Future<void> switchEffectWithSlot(
{required String slot,
required String path,
String? targetGameObject,
int? face}) async {
await platformRun(
androidFunction: () =>
_deepArPlatformHandler.switchEffectWithSlot(slot: slot, path: path),
iOSFunction: () => _deepArPlatformHandler
.switchEffectWithSlotIos(_textureId!, slot: slot, path: path));
}