Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

BoundedPlane.Pose

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public Pose Pose;

Description

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.

Did you find this page useful? Please give it a rating: