Class HandInteractionPanZoom
Inheritance
HandInteractionPanZoom
Implements
IMixedRealityTouchHandler
IMixedRealityPointerHandler
IMixedRealitySourceStateHandler
BaseFocusHandler
Assembly: cs.temp.dll.dll
public class HandInteractionPanZoom : BaseFocusHandler, IMixedRealityTouchHandler, IMixedRealityPointerHandler, IMixedRealitySourceStateHandler, BaseFocusHandler
Fields
Declaration
public PanUnityEvent PanStarted
Field Value
Declaration
public PanUnityEvent PanStarted
Field Value
Declaration
public PanUnityEvent PanStopped
Field Value
Declaration
public PanUnityEvent PanStopped
Field Value
Declaration
public PanUnityEvent PanUpdated
Field Value
Declaration
public PanUnityEvent PanUpdated
Field Value
Properties
Returns the current pan delta (pan value - previous pan value)
in UV coordinates (0 being no pan, 1, being pan of the entire )
Declaration
public Vector2 CurrentPanDelta { get; }
Property Value
Returns the current pan delta (pan value - previous pan value)
in UV coordinates (0 being no pan, 1, being pan of the entire )
Declaration
public Vector2 CurrentPanDelta { get; }
Property Value
Declaration
public float CurrentScale { get; }
Property Value
Declaration
public float CurrentScale { get; }
Property Value
This Property sets and gets whether a the pan/zoom behavior is active.
Declaration
public bool Enabled { get; set; }
Property Value
This Property sets and gets whether a the pan/zoom behavior is active.
Declaration
public bool Enabled { get; set; }
Property Value
Methods
Declaration
public override void OnFocusEnter(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Declaration
public override void OnFocusEnter(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Declaration
public override void OnFocusExit(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Declaration
public override void OnFocusExit(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Declaration
public void OnPointerClicked(MixedRealityPointerEventData eventData)
Parameters
Type |
Name |
Description |
MixedRealityPointerEventData |
eventData |
|
Declaration
public void OnPointerClicked(MixedRealityPointerEventData eventData)
Parameters
Type |
Name |
Description |
MixedRealityPointerEventData |
eventData |
|
The Input Event handlers receive Hand Ray events.
Declaration
public void OnPointerDown(MixedRealityPointerEventData eventData)
Parameters
Type |
Name |
Description |
MixedRealityPointerEventData |
eventData |
|
The Input Event handlers receive Hand Ray events.
Declaration
public void OnPointerDown(MixedRealityPointerEventData eventData)
Parameters
Type |
Name |
Description |
MixedRealityPointerEventData |
eventData |
|
Declaration
public void OnPointerDragged(MixedRealityPointerEventData eventData)
Parameters
Type |
Name |
Description |
MixedRealityPointerEventData |
eventData |
|
Declaration
public void OnPointerDragged(MixedRealityPointerEventData eventData)
Parameters
Type |
Name |
Description |
MixedRealityPointerEventData |
eventData |
|
Declaration
public void OnPointerUp(MixedRealityPointerEventData eventData)
Parameters
Type |
Name |
Description |
MixedRealityPointerEventData |
eventData |
|
Declaration
public void OnPointerUp(MixedRealityPointerEventData eventData)
Parameters
Type |
Name |
Description |
MixedRealityPointerEventData |
eventData |
|
Declaration
public void OnSourceDetected(SourceStateEventData eventData)
Parameters
Type |
Name |
Description |
SourceStateEventData |
eventData |
|
Declaration
public void OnSourceDetected(SourceStateEventData eventData)
Parameters
Type |
Name |
Description |
SourceStateEventData |
eventData |
|
Declaration
public void OnSourceLost(SourceStateEventData eventData)
Parameters
Type |
Name |
Description |
SourceStateEventData |
eventData |
|
Declaration
public void OnSourceLost(SourceStateEventData eventData)
Parameters
Type |
Name |
Description |
SourceStateEventData |
eventData |
|
Declaration
public void OnTouchCompleted(HandTrackingInputEventData eventData)
Parameters
Type |
Name |
Description |
HandTrackingInputEventData |
eventData |
|
Declaration
public void OnTouchCompleted(HandTrackingInputEventData eventData)
Parameters
Type |
Name |
Description |
HandTrackingInputEventData |
eventData |
|
In order to receive Touch Events from the IMixedRealityTouchHandler
remember to add a NearInteractionTouchable script to the object that has this script.
Declaration
public void OnTouchStarted(HandTrackingInputEventData eventData)
Parameters
Type |
Name |
Description |
HandTrackingInputEventData |
eventData |
|
In order to receive Touch Events from the IMixedRealityTouchHandler
remember to add a NearInteractionTouchable script to the object that has this script.
Declaration
public void OnTouchStarted(HandTrackingInputEventData eventData)
Parameters
Type |
Name |
Description |
HandTrackingInputEventData |
eventData |
|
Declaration
public void OnTouchUpdated(HandTrackingInputEventData eventData)
Parameters
Type |
Name |
Description |
HandTrackingInputEventData |
eventData |
|
Declaration
public void OnTouchUpdated(HandTrackingInputEventData eventData)
Parameters
Type |
Name |
Description |
HandTrackingInputEventData |
eventData |
|
This function sets the pan and zoom back to their starting settings.
Declaration
This function sets the pan and zoom back to their starting settings.
Declaration
Implements
IMixedRealityTouchHandler
IMixedRealityPointerHandler
IMixedRealitySourceStateHandler
BaseFocusHandler