// -------------------------------------------------------------------------------------------------------------------- // // Copyright (c) VRMADA, All rights reserved. // // -------------------------------------------------------------------------------------------------------------------- using System; using UltimateXR.Core; namespace UltimateXR.Devices { /// /// Stores information of a input event. /// public sealed class UxrInput1DEventArgs : EventArgs { #region Public Types & Data /// /// Gets which hand performed the input. /// public UxrHandSide HandSide { get; } /// /// Gets the input target. /// public UxrInput1D Target { get; } /// /// Gets the new input value. /// public float Value { get; } #endregion #region Constructors & Finalizer /// /// Constructor. /// /// Target hand /// Input target /// New input value public UxrInput1DEventArgs(UxrHandSide handSide, UxrInput1D target, float newValue) { HandSide = handSide; Target = target; Value = newValue; } #endregion } }