Skip to main content

ARDK for Android/com.nianticlabs.ardk.mesh/MeshingSession/configure

configure

[androidJvm]
fun configure(config: MeshingConfig)

Configures the meshing feature with the specified settings.

Note: If this method is called while meshing is running, the meshing feature will restart with the new configuration, and any mesh data that has been produced will be lost.

Parameters​

androidJvm

configAn object that defines the meshing behavior.

See also​

MeshingConfig

Throws​

ARDKStatusException with code ARDKStatus.invalidArgument if the configuration is invalid. Check ARDK's C logs for more information.