// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Input; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.UI { /// /// Information associated with a particular manipulation event. /// public class ManipulationEventData { /// /// The object being manipulated /// public GameObject ManipulationSource { get; set; } /// /// The pointer manipulating the object or hovering over the object. Will be null for OnManipulationEnded. /// public IMixedRealityPointer Pointer { get; set; } /// /// Whether the Manipulation is a NearInteration or not. /// public bool IsNearInteraction { get; set; } /// /// Center of the 's Pointer in world space /// public Vector3 PointerCentroid { get; set; } /// /// Pointer's Velocity. /// public Vector3 PointerVelocity { get; set; } /// /// Pointer's Angular Velocity in Eulers. /// public Vector3 PointerAngularVelocity { get; set; } } }