class MockPlaneAnchor (Niantic.ARDK.VirtualStudio.AR.Mock.MockPlaneAnchor)

Overview

Attach this component to a GameObject in a mock environment scene and adjust the center and rotation values so the Gizmo lies flat on top of the plane. A mock IARPlaneAnchor will become discovered and raised through the IARSession.AnchorsAdded event after '_timeToDiscovery' seconds have passed. More...

class MockPlaneAnchor: Niantic.ARDK.VirtualStudio.AR.Mock.MockAnchorBase {
};

Inherited Members

public:
    // interfaces

    interface _ISessionHelper;

    // classes

    class _SessionHelper;

Detailed Documentation

Attach this component to a GameObject in a mock environment scene and adjust the center and rotation values so the Gizmo lies flat on top of the plane. A mock IARPlaneAnchor will become discovered and raised through the IARSession.AnchorsAdded event after '_timeToDiscovery' seconds have passed.

注釈

Mock plane anchors are one-sided, so make sure to configure the rotation value so the plane's normal vector (indicated by the arrow) points in the correct direction.