CaptureBounds
namespace AR51.Net;
public sealed record CaptureBounds(Vector3 Center, Vector3 Size);
The tracked area: a box in the AR 51 world (meters; left-handed, X right, Y up, Z forward).
Units
Positions are in meters, in the AR 51 world: left-handed, X right, Y up, Z forward (the same axes as Unity). See Data conventions.
How-to
This page is reference (facts only). For a walkthrough with a complete sample, see the Calibration guide.
Properties
Positional record: set them in the constructor, read them as properties, and copy with changes using with.
| Property | Type | Description |
|---|---|---|
Center | Vector3 | The middle of the area. |
Size | Vector3 | The full width (X), height (Y) and depth (Z) of the area. |
| Property | Type | Access | Description |
|---|---|---|---|
Min | Vector3 | get | The corner with the smallest X, Y and Z. |
Max | Vector3 | get | The corner with the largest X, Y and Z. |
Method summary
| Method | Returns | |
|---|---|---|
Contains | bool |
→ Full descriptions in Method details below.
Method details
Contains
method
public bool Contains(Vector3 point);
Whether a point is inside the area (edges included).
Parameters
Returnsbool
true when the point is inside.See also
- Calibration guide — walkthrough with a complete, compiled sample
- Class index — every AR51.Net type
- Data conventions, threading and errors
Was this page helpful?