日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    PanZoomBase
    PanZoomBaseRectTransf
    ScrollRectTransf
    Implements
    IMixedRealityPointerHandler
    IMixedRealityFocusHandler
    IMixedRealitySourceStateHandler
    IMixedRealityHandJointHandler
    Inherited Members
    PanZoomBaseRectTransf.Initialize()
    PanZoomBaseRectTransf.ComputePanSpeed(Single, Single, Single)
    PanZoomBaseRectTransf.ZoomDir(Boolean)
    PanZoomBaseRectTransf.ZoomIn()
    PanZoomBaseRectTransf.ZoomOut()
    PanZoomBaseRectTransf.UpdatePanZoom()
    PanZoomBaseRectTransf.UpdateCursorPosInHitBox()
    PanZoomBase.cursorPos
    PanZoomBase.scale
    PanZoomBase.offset
    PanZoomBase.offsetRate_Zoom
    PanZoomBase.offsetRate_Pan
    PanZoomBase.limitPanning
    PanZoomBase.myEyeTarget
    PanZoomBase.zoomSpeed
    PanZoomBase.zoomDir
    PanZoomBase.dynaZoomInvert
    PanZoomBase.originalRatio
    PanZoomBase.originalPivot
    PanZoomBase.originalScale
    PanZoomBase.originalOffset
    PanZoomBase.EyeSaccadeProvider
    PanZoomBase.AutoPan()
    PanZoomBase.PanHorizontally(Single)
    PanZoomBase.PanVertically(Single)
    PanZoomBase.EnableHandZoom()
    PanZoomBase.DisableHandZoom()
    PanZoomBase.ZoomInStart()
    PanZoomBase.ZoomOutStart()
    PanZoomBase.ZoomStop()
    PanZoomBase.ResetNormFixator()
    PanZoomBase.IncrementNormFixator()
    PanZoomBase.MyCollider
    PanZoomBase.LimitScaling(Vector2)
    PanZoomBase.ZoomIn_Timed()
    PanZoomBase.ZoomOut_Timed()
    PanZoomBase.StartFocusing()
    PanZoomBase.StopFocusing()
    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
    PanZoomBase.Start()

    Update()

    Declaration
    protected override void Update()
    Overrides
    PanZoomBase.Update()

    Implements

    IMixedRealityPointerHandler
    IMixedRealityFocusHandler
    IMixedRealitySourceStateHandler
    IMixedRealityHandJointHandler
    Back to top Generated by DocFX