Method TryAddReferencePoint
TryAddReferencePoint(Pose, out XRReferencePoint)
Attempts to create a new reference point with the provide pose
.
Declaration
[Obsolete("XRReferencePointSubsystem.TryAddReferencePoint() has been deprecated. Use XRAnchorSubsystem.TryAddAnchor() instead (UnityUpgradable) -> UnityEngine.XR.ARSubsystems.XRAnchorSubsystem.TryAddAnchor(Pose, XRAnchor)", true)]
public bool TryAddReferencePoint(Pose pose, out XRReferencePoint referencePoint)
Parameters
Type | Name | Description |
---|---|---|
Pose | pose | The pose, in session space, of the new reference point. |
XRReferencePoint | referencePoint | The new reference point. Only valid if this method returns |
Returns
Type | Description |
---|---|
bool |
|