mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class BaseRayStabilizer

    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.

    Inheritance
    Object
    BaseRayStabilizer
    GazeStabilizer
    Implements
    IBaseRayStabilizer
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Physics
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class BaseRayStabilizer : IBaseRayStabilizer

    Properties

    StablePosition

    The stabilized position.

    Declaration
    public abstract Vector3 StablePosition { get; }
    Property Value
    Type Description
    Vector3

    StablePosition

    The stabilized position.

    Declaration
    public abstract Vector3 StablePosition { get; }
    Property Value
    Type Description
    Vector3

    StableRay

    A ray representing the stable position and rotation

    Declaration
    public abstract Ray StableRay { get; }
    Property Value
    Type Description
    Ray

    StableRay

    A ray representing the stable position and rotation

    Declaration
    public abstract Ray StableRay { get; }
    Property Value
    Type Description
    Ray

    StableRotation

    The stabilized rotation.

    Declaration
    public abstract Quaternion StableRotation { get; }
    Property Value
    Type Description
    Quaternion

    StableRotation

    The stabilized rotation.

    Declaration
    public abstract Quaternion StableRotation { get; }
    Property Value
    Type Description
    Quaternion

    Methods

    UpdateStability(Vector3, Quaternion)

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

    Declaration
    public virtual void UpdateStability(Vector3 position, Quaternion rotation)
    Parameters
    Type Name Description
    Vector3 position

    Input position to smooth.

    Quaternion rotation

    Input rotation to smooth.

    UpdateStability(Vector3, Quaternion)

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

    Declaration
    public virtual void UpdateStability(Vector3 position, Quaternion rotation)
    Parameters
    Type Name Description
    Vector3 position

    Input position to smooth.

    Quaternion rotation

    Input rotation to smooth.

    UpdateStability(Vector3, Vector3)

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

    Declaration
    public abstract void UpdateStability(Vector3 position, Vector3 direction)
    Parameters
    Type Name Description
    Vector3 position

    Input position to smooth.

    Vector3 direction

    Input direction to smooth.

    UpdateStability(Vector3, Vector3)

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

    Declaration
    public abstract void UpdateStability(Vector3 position, Vector3 direction)
    Parameters
    Type Name Description
    Vector3 position

    Input position to smooth.

    Vector3 direction

    Input direction to smooth.

    Implements

    IBaseRayStabilizer
    In This Article
    • Properties
      • StablePosition
      • StablePosition
      • StableRay
      • StableRay
      • StableRotation
      • StableRotation
    • Methods
      • UpdateStability(Vector3, Quaternion)
      • UpdateStability(Vector3, Quaternion)
      • UpdateStability(Vector3, Vector3)
      • UpdateStability(Vector3, Vector3)
    • Implements
    Back to top Generated by DocFX