shown in other instead.
The class is used for managing a Varjo object marker. Varjo markers are typically used in mixed reality applications, but can be also used without video pass-through rendering in virtual reality applications to align virtual objects in the scene with physical objects in the real world.
Object markers are used to track static or dynamic objects in the user environment. You can use the object markers in both XR and VR applications. Each marker has a unique ID, and you shouldn't use the same marker more than once in any given environment. For added precision, an application can use multiple markers to track a single object. You can, for example, track a monitor by placing a marker in each corner.
Return valueCurrent marker object ID.
Return valueCurrent pose transformation.
Return valueCurrent pose transformation in global space.
Return valueCurrent size in meters.
Return valueCurrent linear velocity, in meters per second.
Return valueCurrent angular velocity, in radians per second.
Return valueCurrent acceleration, in m/s2.
long long getRawTimestamp() const#
Return valueCurrent timestamp of the pose, in nanoseconds.
Return valueCurrent tracker confidence in range [0.0, 1.0].
Return valueCurrent bit field value describing pose. One of the MARKER_POSE_FLAGS_*
void setDynamic ( bool dynamic ) #
- bool dynamic - Set true to enable the marker is tracked as dynamic; false - to disable it.
bool isDynamic() const#
Return valuetrue if the marker is tracked as dynamic is enabled; otherwise false.
void setLifetime ( ) #
- lifetime - The marker lifetime.