ScrollRectTransf 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.
C++
public ref class ScrollRectTransf : Microsoft::MixedReality::Toolkit::Examples::Demos::EyeTracking::PanZoomBaseRectTransf
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ScrollRectTransf")]
public class ScrollRectTransf : Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking.PanZoomBaseRectTransf
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ScrollRectTransf")>]
type ScrollRectTransf = class
inherit PanZoomBaseRectTransf
Public Class ScrollRectTransf
Inherits PanZoomBaseRectTransf
- Inheritance
- Attributes
-
UnityEngine.AddComponentMenuAttribute
cursor |
(Inherited from PanZoomBase) |
custom |
|
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) |
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 |