Skip to main content

TrackedObject

class · sealed immutable thread-safe
namespace AR51.Net;

public sealed class TrackedObject

One tracked object at one moment, for example a prop: its position and rotation, plus identity and timing.

Positions are in meters, in the AR 51 world: left-handed, X right, Y up, Z forward (the same axes as Unity). Objects are defined in advance, in Mocap Studio. Instances are immutable and safe to share across threads.

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 Object detection guide.

Properties​

PropertyTypeAccessDescription
IdstringgetTracking id of this object, stable while the object stays tracked.
NamestringgetThe object's name, as defined in Mocap Studio. It also tells what kind of object it is.
PositionVector3getThe object's position, in meters.
RotationQuaterniongetThe object's rotation.
CaptureTimeDateTimeOffsetgetWhen the cameras captured this object (server clock, UTC). The Unix epoch (1970-01-01) when the server did not send a valid time.
ReceivedTimeDateTimeOffsetgetWhen this client received it (local clock). CaptureTime uses the server's clock and this uses yours, so their difference is the true delay only when both clocks are synchronized (for example with NTP).

See also​

Was this page helpful?