I cannot delete objects that spawn using the removeNode function in ArCoreView of type Augmented Image. Here is my code:
ArCoreView(
onArCoreViewCreated: _onArCoreViewCreated,
type: ArCoreViewType.AUGMENTEDIMAGES,
enableTapRecognizer: true,
enablePlaneRenderer: true,
),
...
void deleteNode(List names) async {
for (String name in names) {
print(name); // I use this for debugging
arCoreController?.removeNode(nodeName: name);
}
}
...
I cannot delete objects that spawn using the
removeNode
function inArCoreView
of typeAugmented Image
. Here is my code:ArCoreView( onArCoreViewCreated: _onArCoreViewCreated, type: ArCoreViewType.AUGMENTEDIMAGES, enableTapRecognizer: true, enablePlaneRenderer: true, ), ... void deleteNode(List names) async {
for (String name in names) {
print(name); // I use this for debugging
arCoreController?.removeNode(nodeName: name);
}
}
...
deleteNode(modelName);