ScrollRectTransf 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.
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 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
Constructors
ScrollRectTransf() |
Fields
cursorPos | (Inherited from PanZoomBase) |
customStartPos | |
dynaZoomInvert | (Inherited from PanZoomBase) |
limitPanning | (Inherited from PanZoomBase) |
myEyeTarget | (Inherited from PanZoomBase) |
offset | (Inherited from PanZoomBase) |
offsetRate_Pan | (Inherited from PanZoomBase) |
offsetRate_Zoom | (Inherited from PanZoomBase) |
originalOffset | (Inherited from PanZoomBase) |
originalPivot | (Inherited from PanZoomBase) |
originalRatio | (Inherited from PanZoomBase) |
originalScale | (Inherited from PanZoomBase) |
scale | (Inherited from PanZoomBase) |
zoomDir | (Inherited from PanZoomBase) |
zoomSpeed | (Inherited from PanZoomBase) |
Properties
EyeSaccadeProvider | (Inherited from PanZoomBase) |
MyCollider |
Returns the collider of this GameObject. (Inherited from PanZoomBase) |