Search Results for

    Method CreateSpatialAnchor

    CreateSpatialAnchor(Vector3, Quaternion, Action<YVRSpatialAnchorResult, bool>)

    Creates a spatial anchor using the provided position and rotation.

    Declaration
    public void CreateSpatialAnchor(Vector3 position, Quaternion rotation, Action<YVRSpatialAnchorResult, bool> result)
    Parameters
    Type Name Description
    Vector3 position

    The position of the anchor

    Quaternion rotation

    The rotation of the anchor

    Action<YVRSpatialAnchorResult, bool> result

    Callback for handling the result of the anchor creation process

    In This Article