PanZoomBaseRectTransf 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.
This script allows to zoom into and pan the texture of a GameObject. It also allows for scrolling by restricting panning to one direction.
public ref class PanZoomBaseRectTransf : Microsoft::MixedReality::Toolkit::Examples::Demos::EyeTracking::PanZoomBase
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/PanZoomBaseRectTransf")]
public class PanZoomBaseRectTransf : Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking.PanZoomBase
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/PanZoomBaseRectTransf")>]
type PanZoomBaseRectTransf = class
inherit PanZoomBase
Public Class PanZoomBaseRectTransf
Inherits PanZoomBase
- Inheritance
- Derived
- Attributes
-
UnityEngine.AddComponentMenuAttribute
cursor |
(Inherited from PanZoomBase) |
dyna |
(Inherited from PanZoomBase) |
limit |
(Inherited from PanZoomBase) |
my |
(Inherited from PanZoomBase) |
offset | (Inherited from PanZoomBase) |
offset |
(Inherited from PanZoomBase) |
offset |
(Inherited from PanZoomBase) |
original |
(Inherited from PanZoomBase) |
original |
(Inherited from PanZoomBase) |
original |
(Inherited from PanZoomBase) |
original |
(Inherited from PanZoomBase) |
scale | (Inherited from PanZoomBase) |
zoom |
(Inherited from PanZoomBase) |
zoom |
(Inherited from PanZoomBase) |
Eye |
(Inherited from PanZoomBase) |
My |
Returns the collider of this GameObject. (Inherited from PanZoomBase) |
Auto |
(Inherited from PanZoomBase) |
Compute |
|
Disable |
(Inherited from PanZoomBase) |
Enable |
(Inherited from PanZoomBase) |
Increment |
(Inherited from PanZoomBase) |
Initialize() | |
Limit |
(Inherited from PanZoomBase) |
Pan |
Scroll sideways. (Inherited from PanZoomBase) |
Pan |
Scroll from top to bottom (Inherited from PanZoomBase) |
Reset |
(Inherited from PanZoomBase) |
Start() | (Inherited from PanZoomBase) |
Start |
(Inherited from PanZoomBase) |
Stop |
(Inherited from PanZoomBase) |
Update() | (Inherited from PanZoomBase) |
Update |
Determine the position of the cursor within the hitbox. |
Update |
|
Zoom |
|
Zoom |
(Inherited from PanZoomBase) |
Zoom |
|
Zoom |
(Inherited from PanZoomBase) |
Zoom |
(Inherited from PanZoomBase) |
Zoom |
|
Zoom |
(Inherited from PanZoomBase) |
Zoom |
No matter if the user is still looking at the currently active pan-zoom panel, once the "zoom stop" action has been triggered, reset the active target. (Inherited from PanZoomBase) |
Product | Versions |
---|---|
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 |