Skip to main content
Version: 12 Dec 2024

MLOcclusion

NameSpace: MagicLeap

Inherits from:
MLAutoAPISingleton< MLOcclusion >,
MLLazySingleton< T >

Public Methods​

MLResult.Code GetLatestMesh​

public static MLResult.Code GetLatestMesh(
out OcclusionMesh mesh
)

Parameters

TypeNameDescription
out OcclusionMeshmesh

MLResult.Code UpdateSettings​

public static MLResult.Code UpdateSettings(
in Settings settings
)

Parameters

TypeNameDescription
in Settingssettings

Protected Methods​

StartAPI​

Do API-specific creation/initialization of ML resources for this API, such as creating trackers, etc. Called automatically the first time Instance is accessed. Error checking on the return value is performed in the base class.

protected virtual override MLResult.Code StartAPI()

Reimplements: StartAPI


StopAPI​

API-specific cleanup. Will be called whenever MLDevice is destroyed (at the latest, when the application is shutting down). Error checking on the return value is performed in the base class.

protected virtual override MLResult.Code StopAPI()

Reimplements: StopAPI