class MockColocalization (Niantic.Experimental.ARDK.SharedAR.MockColocalization)

Note

This is an experimental feature. Experimental features should not be used in production products as they are subject to breaking changes, not officially supported, and may be deprecated without notice

class MockColocalization: Niantic.Experimental.ARDK.SharedAR.IColocalization {
public:
    // properties

    Matrix4x4 AlignedSpaceOrigin;
    ReadOnlyDictionary<IPeerID, ColocalizationState> ColocalizationStates;
    ColocalizationFailureReason FailureReason;
    ReadOnlyDictionary<IPeerID, Matrix4x4> LatestPeerPoses;

    // events

    event ColocalizationStateUpdated();
    event PeerPoseReceived();

    // methods

    ColocalizationAlignmentResult AlignedPoseToLocal(
        IPeerID id,
        Matrix4x4 poseInAlignedSpace,
        out Matrix4x4 poseInLocalSpace
    );

    void Dispose();

    void LocalPoseToAligned(
        Matrix4x4 poseInLocalSpace,
        out Matrix4x4 poseInAlignedSpace
    );

    MockColocalization(INetworking networking, IDatastore datastore);
    void Pause();
    void Start();
    void Stop();
};

Inherited Members

public:
    // properties

    Matrix4x4 AlignedSpaceOrigin;
    ReadOnlyDictionary<IPeerID, ColocalizationState> ColocalizationStates;

    // events

    event ColocalizationStateUpdated();

    // methods

    ColocalizationAlignmentResult AlignedPoseToLocal(
        IPeerID id,
        Matrix4x4 poseInAlignedSpace,
        out Matrix4x4 poseInLocalSpace
    );

    void LocalPoseToAligned(
        Matrix4x4 poseInLocalSpace,
        out Matrix4x4 poseInAlignedSpace
    );

    void Start();
    void Stop();