interface IARMap (Niantic.ARDK.AR.SLAM.IARMap)

Overview

A map that is generated by the Computer Vision system on a host device based on the world around the device. All other devices receive maps from the host and try to sync against the maps to figure out where they are in the world with respect to the host. More…

interface IARMap: IDisposable {
    // properties

    bool CanGetNativeHandle;
    Guid Identifier;
    IntPtr NativeHandle;
    Matrix4x4 Transform;
    float WorldScale;
};

Detailed Documentation

A map that is generated by the Computer Vision system on a host device based on the world around the device. All other devices receive maps from the host and try to sync against the maps to figure out where they are in the world with respect to the host.

When a map is published by the host device and reaches the other client devices in the session, the client devices need to look towards the position where the host has published the map in order to sync.

Properties

Guid Identifier

A unique identifier representing this map.

Matrix4x4 Transform

Transform of the approximate center of the map. The orientation is always identity.

float WorldScale

The Unity-specific scaling factor applied to this map’s Transform.