Skip to main content
←API Reference ←NSDK ←NSDKMeshingSession

configure

Configures the meshing feature with the specified settings.

Declaration​

func configure(with config: Configuration) throws

Summary​

Configures the meshing feature with the specified settings.

Throws​

  • NSDKError.invalidArgument if the configuration is invalid. Check NSDK's C logs for more information.
Notice

Attention: 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​

NameTypeSummary
configConfiguration
An object that defines the meshing behavior.