// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.MixedReality.Toolkit.Input
{
///
/// Interface for defining Input Action Rules
///
///
public interface IInputActionRule
{
///
/// The Base Action that the rule will listen to.
///
MixedRealityInputAction BaseAction { get; }
///
/// The Action to raise if the criteria is met.
///
MixedRealityInputAction RuleAction { get; }
///
/// The criteria to check against for determining if the action should be raised.
///
T Criteria { get; }
}
}