using System; using UnityEngine.XR.ARSubsystems; namespace UnityEngine.XR.ARFoundation { /// /// Represents a 3D bounding box detected by an AR device. /// /// /// Generated by the when an AR device detects /// a 3D bounding box in the environment. /// [DisallowMultipleComponent] [HelpURL(typeof(ARBoundingBox))] public class ARBoundingBox : ARTrackable { /// /// The physical size (dimensions) of the bounding box in meters. /// public Vector3 size => sessionRelativeData.size; /// /// The classifications of this bounding box. /// public BoundingBoxClassifications classifications => sessionRelativeData.classifications; } }