Options for drawing overlay content in a scene that aids in debugging the scene.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- Xcode 11.0+
Framework
- Reality
Kit
Declaration
struct ARView.DebugOptions
Options for drawing overlay content in a scene that aids in debugging the scene.
SDKs
Framework
struct ARView.DebugOptions
static let none: ARView .Debug Options
Disable all debugging overlays.
static let show Physics: ARView .Debug Options
Draw visualizations for collision objects and rigid bodies.
static let show Statistics: ARView .Debug Options
Enable statistics collection and visualization.
static let show Anchor Origins: ARView .Debug Options
Display anchor origins.
static let show Anchor Geometry: ARView .Debug Options
Display anchor geometry.
static let show World Origin: ARView .Debug Options
Display a coordinate axis indicating the position and orientation of the AR world coordinate system.
static let show Feature Points: ARView .Debug Options
Display a point cloud showing intermediate results of the scene analysis used to track device position.
init()
Creates an empty option set.
init<S>(S)
Creates a new set from a finite sequence of items.
init(array Literal: ARView .Debug Options...)
Creates a set containing the elements of the given array literal.
var is Empty: Bool
A Boolean value that indicates whether the set has no elements.
func contains(ARView .Debug Options) -> Bool
Returns a Boolean value that indicates whether a given element is a member of the option set.
func insert(ARView .Debug Options) -> (inserted: Bool, member After Insert: ARView .Debug Options)
Adds the given element to the option set if it is not already a member.
func update(with: ARView .Debug Options) -> ARView .Debug Options?
Inserts the given element into the set.
func remove(ARView .Debug Options) -> ARView .Debug Options?
Removes the given element and all elements subsumed by it.
func subtract(ARView .Debug Options)
Removes the elements of the given set from this set.
func subtracting(ARView .Debug Options) -> ARView .Debug Options
Returns a new set containing the elements of this set that do not occur in the given set.
func union(ARView .Debug Options) -> ARView .Debug Options
Returns a new option set of the elements contained in this set, in the given set, or in both.
func form Union(ARView .Debug Options)
Inserts the elements of another set into this option set.
func intersection(ARView .Debug Options) -> ARView .Debug Options
Returns a new option set with only the elements contained in both this set and the given set.
func form Intersection(ARView .Debug Options)
Removes all elements of this option set that are not also present in the given set.
func symmetric Difference(ARView .Debug Options) -> ARView .Debug Options
Returns a new option set with the elements contained in this set or in the given set, but not in both.
func form Symmetric Difference(ARView .Debug Options)
Replaces this set with a new set containing all elements contained in either this set or the given set, but not in both.
func is Subset(of: ARView .Debug Options) -> Bool
Returns a Boolean value that indicates whether the set is a subset of another set.
func is Strict Subset(of: ARView .Debug Options) -> Bool
Returns a Boolean value that indicates whether this set is a strict subset of the given set.
func is Superset(of: ARView .Debug Options) -> Bool
Returns a Boolean value that indicates whether the set is a superset of the given set.
func is Strict Superset(of: ARView .Debug Options) -> Bool
Returns a Boolean value that indicates whether this set is a strict superset of the given set.
func is Disjoint(with: ARView .Debug Options) -> Bool
Returns a Boolean value that indicates whether the set has no members in common with the given set.
var debug Options: ARView .Debug Options
The current debugging options.