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

BoundedPlane.Pose

マニュアルに切り替える
public Pose Pose ;

説明

Pose of the plane in device space.

The position of the plane generally stays the same between frames, unless the understanding of where the plane is changes. For example, the device's plane detection algorithm may determine that the surface associated with the plane is actualy lower than it originally thought. In this case, the position's Y value might change. But if the dimensions of the plane change as the surface is explored, the position will likely stay the same. This is different than the Center which can change frequently.

Thus, the Pose.position provides a stable reference point to which you could make other GameObjects relative.

A rotation of identity means the plane is horizontal, with its normal pointing up (positive along the Y axis). The BoundedPlane.Width corresponds to its size in the X direction, and its BoundedPlane.Height corresponds to its size in the Z direction.

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