浏览代码

Add explanation for plane classification sample

/3.1
Tim Mowrer 5 年前
当前提交
12626a99
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
      README.md

4
README.md


This sample shows how to toggle plane detection on and off. When off, it will also hide all previously detected planes by disabling their GameObjects. See [`PlaneDetectionController.cs`](https://github.com/Unity-Technologies/arfoundation-samples/blob/master/Assets/Scripts/PlaneDetectionController.cs).
## PlaneClassification
This sample shows how to query for a plane's classification. Some devices attempt to classify planes into categories such as "door", "seat", "window", and "floor". This scene enables plane detection using the `ARPlaneManager`, and uses a prefab which includes a component which displays the plane's classification, or "none" if it cannot be classified.
## FeatheredPlanes
This sample demonstrates basic plane detection, but uses a better looking prefab for the `ARPlane`. Rather than being drawn as exactly defined, the plane fades out towards the edges.

正在加载...
取消
保存