ScrollTexture 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 scroll a texture both horizontally and vertically.
public ref class ScrollTexture : Microsoft::MixedReality::Toolkit::Examples::Demos::EyeTracking::PanZoomBaseTexture
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ScrollTexture")]
public class ScrollTexture : Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking.PanZoomBaseTexture
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ScrollTexture")>]
type ScrollTexture = class
inherit PanZoomBaseTexture
Public Class ScrollTexture
Inherits PanZoomBaseTexture
- Inheritance
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Constructors
ScrollTexture() |
Fields
cursorPos | (Inherited from PanZoomBase) |
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) |
textureRenderer | (Inherited from PanZoomBaseTexture) |
zoomDir | (Inherited from PanZoomBase) |
zoomSpeed | (Inherited from PanZoomBase) |
Properties
EyeSaccadeProvider | (Inherited from PanZoomBase) |
MyCollider |
Returns the collider of this GameObject. (Inherited from PanZoomBase) |
TextureShaderProperty | (Inherited from PanZoomBaseTexture) |
Methods
AutoPan() | (Inherited from PanZoomBase) |
ComputePanSpeed(Single, Single, Single) |
Returns the pan speed. (Inherited from PanZoomBaseTexture) |
DisableHandZoom() | (Inherited from PanZoomBase) |
EnableHandZoom() | (Inherited from PanZoomBase) |
IncrementNormFixator() | (Inherited from PanZoomBase) |
Initialize() | (Inherited from PanZoomBaseTexture) |
Initialize(Single) | (Inherited from PanZoomBaseTexture) |
LimitScaling(Vector2) | (Inherited from PanZoomBase) |
PanHorizontally(Single) |
Scroll sideways. (Inherited from PanZoomBase) |
PanVertically(Single) |
Scroll from top to bottom (Inherited from PanZoomBase) |
ResetNormFixator() | (Inherited from PanZoomBase) |
Start() | |
StartFocusing() | (Inherited from PanZoomBase) |
StopFocusing() | (Inherited from PanZoomBase) |
Update() | |
UpdateCursorPosInHitBox() |
Determine the position of the cursor within the texture in UV space. (Inherited from PanZoomBaseTexture) |
UpdatePanZoom() | (Inherited from PanZoomBaseTexture) |
ZoomDir(Boolean) | (Inherited from PanZoomBaseTexture) |
ZoomIn_Timed() | (Inherited from PanZoomBase) |
ZoomIn() | (Inherited from PanZoomBaseTexture) |
ZoomInStart() | (Inherited from PanZoomBase) |
ZoomOut_Timed() | (Inherited from PanZoomBase) |
ZoomOut() | (Inherited from PanZoomBaseTexture) |
ZoomOutStart() | (Inherited from PanZoomBase) |
ZoomStop() |
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) |