HandInteractionPanZoom Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class HandInteractionPanZoom : Microsoft::MixedReality::Toolkit::Input::BaseFocusHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealitySourceStateHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealityTouchHandler, UnityEngine::EventSystems::IEventSystemHandler
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/HandInteractionPanZoom")]
public class HandInteractionPanZoom : Microsoft.MixedReality.Toolkit.Input.BaseFocusHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointerHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealitySourceStateHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealityTouchHandler, UnityEngine.EventSystems.IEventSystemHandler
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/HandInteractionPanZoom")>]
type HandInteractionPanZoom = class
inherit BaseFocusHandler
interface IMixedRealityTouchHandler
interface IEventSystemHandler
interface IMixedRealityPointerHandler
interface IMixedRealitySourceStateHandler
Public Class HandInteractionPanZoom
Inherits BaseFocusHandler
Implements IEventSystemHandler, IMixedRealityPointerHandler, IMixedRealitySourceStateHandler, IMixedRealityTouchHandler
- Inheritance
- Attributes
-
UnityEngine.AddComponentMenuAttribute
- Implements
-
IMixedRealityPointerHandler IMixedRealitySourceStateHandler IMixedRealityTouchHandler Unity
Engine. Event Systems. IEvent System Handler
Current |
Returns the current pan delta (pan value - previous pan value) in UV coordinates (0 being no pan, 1 being pan of the entire slate) |
Current |
Current scale value. 1 is the original 100%. |
Enabled |
This Property sets and gets whether a the pan/zoom behavior is active. |
Focus |
Is focus enabled for this Component? (Inherited from BaseFocusHandler) |
Focusers |
The list of IMixedRealityPointers that are currently focused on this GameObject (Inherited from BaseFocusHandler) |
Has |
Does this object currently have focus by any IMixedRealityPointer? (Inherited from BaseFocusHandler) |
Produkt | Verzie |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |