Skip to main content
Version: 0.9.0 (next)

AppVolumeGestureMappingRule class

How one gesture kind on an app volume is shaped and what it is applied to. Its priority is its position in AppVolumeGestureConfiguration.MappingRules, not a field.

Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll

public sealed class AppVolumeGestureMappingRule

Remarks​

The parameterless constructor mirrors qar_app_volume_gesture_mapping_rule_default(): an enabled GestureKind.Click rule, precision 1, constant sensitivity, all axes, gestures from outside the volume accepted, the default ray, no app transform. Hover and click reach the application even without a rule of their own.

Constructors​

AppVolumeGestureMappingRule()​

public AppVolumeGestureMappingRule()

Properties​

MemberDescription
GestureKind
EnabledA disabled hover or click rule does not stop delivery: those two always reach the application, through a built-in rule ranked after every configured one.
PrecisionHand centimetres per app-volume centimetre. With constant sensitivity 1.0 maps 1 cm of hand movement to 1 cm, 2.0 to 0.5 cm (finer control) and 0.5 to 2 cm. AppVolumeGestureMappingRule.AppScaleSensitivityMode scales the result after precision is applied.
AppScaleSensitivityMode
TranslationAxes
RotationAxes
EnableGesturesFromOutsideOfVolumeWhether a gesture made with the hand outside the volume's cuboid is accepted; tested at the hand's position.
ControllerRayStyle
AppTransformMapping

GestureKind​

public GestureKind GestureKind { get; set; }

Value: GestureKind

Enabled​

A disabled hover or click rule does not stop delivery: those two always reach the application, through a built-in rule ranked after every configured one.

public bool Enabled { get; set; }

Value: bool

Precision​

Hand centimetres per app-volume centimetre. With constant sensitivity 1.0 maps 1 cm of hand movement to 1 cm, 2.0 to 0.5 cm (finer control) and 0.5 to 2 cm. AppVolumeGestureMappingRule.AppScaleSensitivityMode scales the result after precision is applied.

public float Precision { get; set; }

Value: float

AppScaleSensitivityMode​

public AppScaleSensitivityMode AppScaleSensitivityMode { get; set; }

Value: AppScaleSensitivityMode

TranslationAxes​

public AppVolumeAxisFlags TranslationAxes { get; set; }

Value: AppVolumeAxisFlags

RotationAxes​

public AppVolumeAxisFlags RotationAxes { get; set; }

Value: AppVolumeAxisFlags

EnableGesturesFromOutsideOfVolume​

Whether a gesture made with the hand outside the volume's cuboid is accepted; tested at the hand's position.

public bool EnableGesturesFromOutsideOfVolume { get; set; }

Value: bool

ControllerRayStyle​

public AppVolumeControllerRayStyle ControllerRayStyle { get; set; }

Value: AppVolumeControllerRayStyle

AppTransformMapping​

public GestureAppTransformMapping AppTransformMapping { get; set; }

Value: GestureAppTransformMapping