MRTKHandsAggregatorConfig 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.
Configuration for the MRTK-specific hands aggregator.
[UnityEngine.CreateAssetMenu(fileName="MRTKHandsAggregatorConfig.asset", menuName="MRTK/Subsystems/MRTK Hands Aggregator Config")]
public class MRTKHandsAggregatorConfig : MixedReality.Toolkit.BaseSubsystemConfig
[<UnityEngine.CreateAssetMenu(fileName="MRTKHandsAggregatorConfig.asset", menuName="MRTK/Subsystems/MRTK Hands Aggregator Config")>]
type MRTKHandsAggregatorConfig = class
inherit BaseSubsystemConfig
Public Class MRTKHandsAggregatorConfig
Inherits BaseSubsystemConfig
- Inheritance
- Attributes
-
UnityEngine.CreateAssetMenuAttribute
Constructors
| Name | Description |
|---|---|
| MRTKHandsAggregatorConfig() | |
Properties
| Name | Description |
|---|---|
| HandFacingAwayToleranceInDegrees |
Degrees of rotation away from the user's head's forward vector for the hand to be considered raised/valid. |
| HandRaiseCameraFov |
The FOV in which the hand must be located to be considered valid for a selection. Measured in degrees off-axis from user's head vector. |
| PinchClosedThreshold |
The normalized thumb-forefinger distance at which the pinch is considered 'pinched'. Normalized to the length of the user's index finger. |
| PinchOpenThreshold |
The normalized thumb-forefinger distance at which the pinch is considered 'un-pinched'. Normalized to the length of the user's index finger. |
Methods
| Name | Description |
|---|---|
| Reset() |
Resets configuration values to a reasonable default. |