Skip to main content

class DeviceMappingController

(Niantic.Lightship.AR.Mapping.DeviceMappingController)

Overview​

Class for rimitive Device mapping operations and configs

class DeviceMappingController {
public:
// properties

bool TrackingEdgesEnabled;
DeviceMappingType DeviceMappingType;
uint TargetFrameRate;
float SplitterMaxDistanceMeters;
float SplitterMaxDurationSeconds;
bool IsMapping;

// methods

void StartMapping();
void StopMapping();
};

Detailed Documentation​

Class for rimitive Device mapping operations and configs

.. note::

This is an experimental feature, and is subject to breaking changes or deprecation without notice

Properties​

TrackingEdgesEnabled​

bool TrackingEdgesEnabled

Config to enable/disable creation of tracking edges during mapping

.. note::

This is an experimental feature, and is subject to breaking changes or deprecation without notice

DeviceMappingType​

DeviceMappingType DeviceMappingType

Config to enable/disable use of learned features during mapping

.. note::

This is an experimental feature, and is subject to breaking changes or deprecation without notice

TargetFrameRate​

uint TargetFrameRate

Target Framerate to run Mappers. The 0 value indicates maximun framerate

.. note::

This is an experimental feature, and is subject to breaking changes or deprecation without notice

SplitterMaxDistanceMeters​

float SplitterMaxDistanceMeters

Node Splitter config for Max Distantance Travelled before creating a new map node

.. note::

This is an experimental feature, and is subject to breaking changes or deprecation without notice

SplitterMaxDurationSeconds​

float SplitterMaxDurationSeconds

Node Splitter config for Max Duration Exceeded before creating a new map node

.. note::

This is an experimental feature, and is subject to breaking changes or deprecation without notice

IsMapping​

bool IsMapping

Status if running mapping or not

.. note::

This is an experimental feature, and is subject to breaking changes or deprecation without notice

Methods​

StartMapping​

void StartMapping()

Start map generation

.. note::

This is an experimental feature, and is subject to breaking changes or deprecation without notice

StopMapping​

void StopMapping()

Stop map generation

.. note::

This is an experimental feature, and is subject to breaking changes or deprecation without notice