Skip to main content
Version: 12 Dec 2024

NativeBindings

See ml_occlusion.h for additional comments.

Inherits from:
MagicLeapNativeBindings

Public Methods

MLResult.Code MLOcclusionCreateClient

public MLResult.Code MLOcclusionCreateClient(
in MLOcclusionSettings settings,
out ulong handle
)

Parameters

TypeNameDescription
in MLOcclusionSettingssettings
out ulonghandle

MLResult.Code MLOcclusionDestroyClient

public MLResult.Code MLOcclusionDestroyClient(
ulong handle
)

Parameters

TypeNameDescription
ulonghandle

MLResult.Code MLOcclusionGetLatestMesh

public MLResult.Code MLOcclusionGetLatestMesh(
ulong handle,
in MLOcclusionMeshQuery mesh_query,
out MLOcclusionMesh out_mes_data
)

Parameters

TypeNameDescription
ulonghandle
in MLOcclusionMeshQuerymesh_query
out MLOcclusionMeshout_mes_data

MLResult.Code MLOcclusionReleaseMesh

public MLResult.Code MLOcclusionReleaseMesh(
ulong handle,
out MLOcclusionMesh out_mes_data
)

Parameters

TypeNameDescription
ulonghandle
out MLOcclusionMeshout_mes_data

MLResult.Code MLOcclusionUpdateSettings

public MLResult.Code MLOcclusionUpdateSettings(
ulong handle,
in MLOcclusionSettings settings
)

Parameters

TypeNameDescription
ulonghandle
in MLOcclusionSettingssettings