Bewerken

Delen via


Microsoft.MixedReality.Toolkit.Utilities.Solvers Namespace

Classes

ConstantViewSize

ConstantViewSize solver scales to maintain a constant size relative to the view (currently tied to the Camera)

ControllerFinder

ControllerFinder is a base class providing simple event handling for getting/releasing MotionController Transforms.

DirectionalIndicator

This solver determines the position and orientation of an object as a directional indicator. From the point of reference of the SolverHandler Tracked Target, this indicator will orient towards the DirectionalTarget supplied. If the Directional Target is deemed within view of our frame of reference, then all renderers under this Solver will be disabled. They will be enabled otherwise

Follow

Follow solver positions an element in front of the of the tracked target (relative to its local forward axis). The element can be loosely constrained (a.k.a. tag-along) so that it doesn't follow until the tracked target moves beyond user defined bounds.

HandConstraint

Provides a solver that constrains the target to a region safe for hand constrained interactive content. This solver is intended to work with IMixedRealityHand but also works with IMixedRealityController.

HandConstraintPalmUp

Augments the HandConstraint to also check if the palm is facing the user before activation. This solver only works with IMixedRealityHand controllers, with other IMixedRealityController types this solver will behave just like its base class.

InBetween

InBetween solver positions an object in-between two tracked transforms.

Momentum

Applies acceleration/velocity/friction to simulate momentum for an object being moved by other solvers/components

Orbital

Provides a solver that follows the TrackedObject/TargetTransform in an orbital motion.

Overlap

Provides a solver that overlaps with the tracked object.

RadialView

RadialViewPoser solver locks a tag-along type object within a view cone

Solver

The base abstract class for all Solvers to derive from. It provides state tracking, smoothing parameters and implementation, automatic solver system integration, and update order. Solvers may be used without a link, as long as updateLinkedTransform is false.

SolverHandler

This class handles the solver components that are attached to this GameObject

SurfaceMagnetism

SurfaceMagnetism casts rays to Surfaces in the world and aligns the object to the hit surface.

TapToPlace

Tap to place is a far interaction component used to place objects on a surface.

Enums

Follow.AngularClampType

Specifies the method used to ensure the refForward vector remains within the bounds set by the leashing parameters.

HandConstraint.SolverOffsetBehavior

Specifies how the solver's offset relative to the hand will be computed.

HandConstraint.SolverRotationBehavior

Specifies how the solver should rotate when tracking the hand.

HandConstraint.SolverSafeZone

Specifies a zone that is safe for the constraint to solve to without intersecting the hand. Safe zones may differ slightly from motion controller to motion controller, it's recommended to pick the safe zone best suited for your intended controller and application.

SurfaceMagnetism.OrientationMode

Orientation mode for solver

SurfaceMagnetism.RaycastDirectionMode

Raycast direction mode for solver