HandInteractionPanZoom Class
Definition
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 UnityEngine.EventSystems.IEventSystemHandler
Constructors
HandInteractionPanZoom() |
Fields
PanStarted | |
PanStopped | |
PanUpdated |
Properties
CurrentPanDelta |
Returns the current pan delta (pan value - previous pan value) in UV coordinates (0 being no pan, 1 being pan of the entire slate) |
CurrentScale |
Current scale value. 1 is the original 100%. |
Enabled |
This Property sets and gets whether a the pan/zoom behavior is active. |
FocusEnabled |
Is focus enabled for this Component? (Inherited from BaseFocusHandler) |
Focusers |
The list of IMixedRealityPointers that are currently focused on this GameObject (Inherited from BaseFocusHandler) |
HasFocus |
Does this object currently have focus by any IMixedRealityPointer? (Inherited from BaseFocusHandler) |