BaseRayStabilizer Class

Definition

A base class for a stabilizer that takes an input position and rotation, and performs operations on them to stabilize, or smooth deltas, in the data.

C++
public ref class BaseRayStabilizer abstract : Microsoft::MixedReality::Toolkit::Physics::IBaseRayStabilizer
Inheritance
BaseRayStabilizer
Derived
Implements

Constructors

Properties

StablePosition

The stabilized position.

StableRay

A ray representing the stable position and rotation

StableRotation

The stabilized rotation.

Methods

UpdateStability(Vector3, Quaternion)

Call this each frame to smooth out changes to a position and rotation, if supported.

UpdateStability(Vector3, Vector3)

Call this each frame to smooth out changes to a position and direction, if supported.

Applies to

Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0