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
Type | Name | Description |
---|---|---|
in MLOcclusionSettings | settings | |
out ulong | handle |
MLResult.Code MLOcclusionDestroyClient
public MLResult.Code MLOcclusionDestroyClient(
ulong handle
)
Parameters
Type | Name | Description |
---|---|---|
ulong | handle |
MLResult.Code MLOcclusionGetLatestMesh
public MLResult.Code MLOcclusionGetLatestMesh(
ulong handle,
in MLOcclusionMeshQuery mesh_query,
out MLOcclusionMesh out_mes_data
)
Parameters
Type | Name | Description |
---|---|---|
ulong | handle | |
in MLOcclusionMeshQuery | mesh_query | |
out MLOcclusionMesh | out_mes_data |
MLResult.Code MLOcclusionReleaseMesh
public MLResult.Code MLOcclusionReleaseMesh(
ulong handle,
out MLOcclusionMesh out_mes_data
)
Parameters
Type | Name | Description |
---|---|---|
ulong | handle | |
out MLOcclusionMesh | out_mes_data |
MLResult.Code MLOcclusionUpdateSettings
public MLResult.Code MLOcclusionUpdateSettings(
ulong handle,
in MLOcclusionSettings settings
)
Parameters
Type | Name | Description |
---|---|---|
ulong | handle | |
in MLOcclusionSettings | settings |