Show / Hide Table of Contents

    Namespace Microsoft.MixedReality.Toolkit.Physics

    Classes

    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.

    Distorter

    DistorterBulge

    A Distorter that distorts points based on their distance and direction from the center of the bulge point.

    DistorterGravity

    A Distorter that distorts points based on their distance and direction to the world center of gravity as defined by WorldCenterOfGravity.

    DistorterSimplex

    A Distorter that randomly distorts points.

    DistorterSphere

    A Distorter that distorts points based on their distance and direction from the center of the sphere of size 2.

    DistorterWiggly

    GazeStabilizer

    GazeStabilizer iterates over samples of Raycast data and helps stabilize the user's gaze for precision targeting.

    InterpolationUtilities

    Static class containing interpolation-related utility functions.

    Interpolator

    A MonoBehaviour that interpolates a transform's position, rotation or scale.

    MixedRealityRaycaster

    PhysicsLayerAttribute

    Attribute used to make an Int32 field render a dropdown generated from the current layers defined in the Tag Manager.

    RaycastResultComparer

    Compares the Raycast Results from Unity's Graphic & Physics Raycasters.

    TwoHandMoveLogic

    Implements a movement logic that uses the model of angular rotations along a sphere whose radius varies. The angle to move by is computed by looking at how much the hand changes relative to a pivot point (slightly below and in front of the head).

    Usage: When a manipulation starts, call Setup. Call Update any time to update the move logic and get a new rotation for the object.

    TwoHandRotateLogic

    Implements common logic for rotating holograms using a handlebar metaphor. each frame, object_rotation_delta = rotation_delta(current_hands_vector, previous_hands_vector) where hands_vector is the vector between two hand/controller positions.

    Usage: When a manipulation starts, call Setup. Call Update any time to update the move logic and get a new rotation for the object.

    TwoHandScaleLogic

    Implements a scale logic that will scale an object based on the ratio of the distance between hands. object_scale = start_object_scale * curr_hand_dist / start_hand_dist

    Usage: When a manipulation starts, call Setup. Call Update any time to update the move logic and get a new rotation for the object.

    VectorRollingStatistics

    Vector Statistics used in gaze stabilization.

    Structs

    ComparableRaycastResult

    FocusDetails

    Contains information about which game object has the focus currently. Also contains information about the normal of that point.

    RayStep

    Interfaces

    IBaseRayStabilizer

    Enums

    SceneQueryType

    Defines the different scene query types. Mostly used by pointers.

    TeleportSurfaceResult

    Back to top Generated by DocFX