Class ScrollRectTransf
This script allows to zoom into and pan the texture of a GameObject. It also allows for scrolling by restricting panning to one direction.
Implements
IMixedRealityPointerHandler
IMixedRealityFocusHandler
IMixedRealitySourceStateHandler
IMixedRealityHandJointHandler
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking
Assembly: cs.temp.dll.dll
Syntax
public class ScrollRectTransf : PanZoomBaseRectTransf, IMixedRealityPointerHandler, IMixedRealityFocusHandler, IMixedRealitySourceStateHandler, IMixedRealityHandJointHandler
Fields
customStartPos
Declaration
public Vector2 customStartPos
Field Value
Type | Description |
---|---|
Vector2 |
Methods
Start()
Declaration
protected override void Start()
Overrides
Update()
Declaration
protected override void Update()
Overrides
Implements
IMixedRealityPointerHandler
IMixedRealityFocusHandler
IMixedRealitySourceStateHandler
IMixedRealityHandJointHandler