編輯

共用方式為


InputActionRuleSingleAxis Struct

Definition

Generic Input Action Rule for raising actions based on specific criteria.

public value class InputActionRuleSingleAxis : Microsoft::MixedReality::Toolkit::Input::IInputActionRule<float>
[System.Serializable]
public struct InputActionRuleSingleAxis : Microsoft.MixedReality.Toolkit.Input.IInputActionRule<float>
[<System.Serializable>]
type InputActionRuleSingleAxis = struct
    interface IInputActionRule<single>
Public Structure InputActionRuleSingleAxis
Implements IInputActionRule(Of Single)
Inheritance
InputActionRuleSingleAxis
Attributes
Implements

Constructors

InputActionRuleSingleAxis(MixedRealityInputAction, MixedRealityInputAction, Single)

Constructor.

Properties

BaseAction

The Base Action that the rule will listen to.

Criteria

The criteria to check against for determining if the action should be raised.

RuleAction

The Action to raise if the criteria is met.

Applies to