Method CreateSpatialAnchor
CreateSpatialAnchor(Vector3, Quaternion, Action<YVRSpatialAnchorResult, bool>)
Creates a spatial anchor using the provided position and rotation.
public void CreateSpatialAnchor(Vector3 position, Quaternion rotation, Action<YVRSpatialAnchorResult, bool> result)
Parameters
position
Vector3The position of the anchor
rotation
QuaternionThe rotation of the anchor
result
Action<YVRSpatialAnchorResult, bool>Callback for handling the result of the anchor creation process