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

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961