BaseRayStabilizer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public ref class BaseRayStabilizer abstract : Microsoft::MixedReality::Toolkit::Physics::IBaseRayStabilizer
public abstract class BaseRayStabilizer : Microsoft.MixedReality.Toolkit.Physics.IBaseRayStabilizer
type BaseRayStabilizer = class
interface IBaseRayStabilizer
Public MustInherit Class BaseRayStabilizer
Implements IBaseRayStabilizer
- Inheritance
-
BaseRayStabilizer
- Derived
- Implements
Constructors
BaseRayStabilizer() |
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. |