Skip to main content
Version: 12 Dec 2024

NativeBindings

Inherits from:
MagicLeapNativeBindings

Public Methods

MLResult.Code MLPlanesCreate

public MLResult.Code MLPlanesCreate(
out ulong planes_tracker
)

Parameters

TypeNameDescription
out ulongplanes_tracker

MLResult.Code MLPlanesDestroy

public MLResult.Code MLPlanesDestroy(
ulong planes_tracker
)

Parameters

TypeNameDescription
ulongplanes_tracker

MLResult.Code MLPlanesQueryBegin

public MLResult.Code MLPlanesQueryBegin(
ulong planes_tracker,
in Extensions.MLPlanesQuery query,
out ulong request_handle
)

Parameters

TypeNameDescription
ulongplanes_tracker
in Extensions.MLPlanesQueryquery
out ulongrequest_handle

unsafe MLResult.Code MLPlanesQueryGetResultsWithBoundaries

public unsafe MLResult.Code MLPlanesQueryGetResultsWithBoundaries(
ulong planes_tracker,
ulong planes_query,
Extensions.MLPlane * out_results,
out uint out_num_results,
ref Extensions.MLPlaneBoundariesList out_boundaries
)

Parameters

TypeNameDescription
ulongplanes_tracker
ulongplanes_query
Extensions.MLPlane *out_results
out uintout_num_results
ref Extensions.MLPlaneBoundariesListout_boundaries

MLResult.Code MLPlanesReleaseBoundariesList

public MLResult.Code MLPlanesReleaseBoundariesList(
ulong planes_tracker,
ref Extensions.MLPlaneBoundariesList plane_boundaries
)

Parameters

TypeNameDescription
ulongplanes_tracker
ref Extensions.MLPlaneBoundariesListplane_boundaries