// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using UnityEngine; using UnityEngine.XR; namespace Microsoft.MixedReality.Toolkit.XRSDK.Input { /// /// Additional usages to Unity's CommonUsages. /// /// These might be plugin-specific, shared across several plug-ins, or custom-defined for new input sources. public static class CustomUsages { /// /// Represents the origin of the pointing ray of an input source. /// public static readonly InputFeatureUsage PointerPosition = new InputFeatureUsage("PointerPosition"); /// /// Represents the orientation of the pointing ray of an input source. /// public static readonly InputFeatureUsage PointerRotation = new InputFeatureUsage("PointerRotation"); } }