MLOcclusion
NameSpace: MagicLeap
Inherits from:
MLAutoAPISingleton< MLOcclusion >,
MLLazySingleton< T >
Public Methods
MLResult.Code GetLatestMesh
public static MLResult.Code GetLatestMesh(
out OcclusionMesh mesh
)
Parameters
Type | Name | Description |
---|---|---|
out OcclusionMesh | mesh |
MLResult.Code UpdateSettings
public static MLResult.Code UpdateSettings(
in Settings settings
)
Parameters
Type | Name | Description |
---|---|---|
in Settings | settings |
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