Skip to main content

CaptureBounds

record · sealed thread-safe
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.

PropertyTypeDescription
CenterVector3The middle of the area.
SizeVector3The full width (X), height (Y) and depth (Z) of the area.
PropertyTypeAccessDescription
MinVector3getThe corner with the smallest X, Y and Z.
MaxVector3getThe corner with the largest X, Y and Z.

Method summary​

MethodReturns
Containsbool

→ 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
pointVector3A point in the AR 51 world, in meters.
Returnsbooltrue when the point is inside.

See also​

Was this page helpful?