Experimental: this API is experimental and might be changed or removed in the future.

XRReferencePointSubsystem.TryGetReferencePoint

切换到手册
public bool TryGetReferencePoint (Experimental.XR.TrackableId referencePointId, out Experimental.XR.ReferencePoint referencePoint);

参数

referencePointId在您添加此点后由 TryAddReferencePoint 填充的 ReferencePoint 的 ID。
referencePoint要填充的与传入 ID 匹配的 ReferencePoint

返回

bool 如果成功找到 ReferencePoint 且完成填充,此方法会返回 true。否则,它会返回 false。

描述

尝试检索 ReferencePoint