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

ReferencePoint

struct in UnityEngine.Experimental.XR

매뉴얼로 전환

설명

Describes the transform data of a real-world point.

To track and stabilize around important points in the real world, add a ReferencePoint at the point of interest, and respond to updates to that ReferencePoint. Each frame, each ReferencePoint may have its position and rotation updated (see Environment.ReferencePointUpdated) as the device gains a more thorough understanding of where that point is in Unity space.

변수

IdID for the reference point that is unique across the session.
PoseThe pose (position and rotation) of the reference point. Respond to changes in this pose to correct for changes in the device's understanding of where this point is in the real world.
TrackingStateThe TrackingState of the reference point.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961