API reference

MRUKTrackable Class

Extends MRUKAnchor
A "trackable" is a type of anchor that can be detected and tracked by the runtime.
Trackables are instantiated and managed by MRUK; you should not add this component to your own GameObjects.
When MRUK detects a new trackable, it will invoke its MRUK.MRUKSettings.TrackableAdded event and provide an instance of MRUKTrackable to its subscribers.

Properties

IsTracked : bool
[Get]
Whether this trackable is current considered tracked.
A trackable may become temporarily untracked if, for example, it cannot be seen by the device.
Signature
bool IsTracked
MarkerPayloadBytes : byte[]
[Get]
The marker's payload as raw bytes.
If this trackable is a marker (e.g., a QR Code) use this property to get the payload bytes.
If this trackable is not a marker, then this property is null.
Signature
byte [] MarkerPayloadBytes
MarkerPayloadString : string
[Get]
The marker's payload as a string.
If this trackable is a marker (e.g., a QR Code) and its payload can be interpreted as a string, use this property to get the payload as a string.
If this trackable is not a marker, or its payload is not a string, this property is null.
Signature
string MarkerPayloadString
TrackableType : OVRAnchor.TrackableType
[Get]
This specific type of trackable this MRUKTrackable represents.
Signature
OVRAnchor.TrackableType TrackableType