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

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

    Show / Hide Table of Contents

    Class PanZoomBaseRectTransf

    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
    PanZoomRectTransf
    ScrollRectTransf
    Implements
    IMixedRealityPointerHandler
    IMixedRealityFocusHandler
    IMixedRealitySourceStateHandler
    IMixedRealityHandJointHandler
    Inherited Members
    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.Start()
    PanZoomBase.AutoPan()
    PanZoomBase.PanHorizontally(Single)
    PanZoomBase.PanVertically(Single)
    PanZoomBase.EnableHandZoom()
    PanZoomBase.DisableHandZoom()
    PanZoomBase.ZoomInStart()
    PanZoomBase.ZoomOutStart()
    PanZoomBase.ZoomStop()
    PanZoomBase.Update()
    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 PanZoomBaseRectTransf : PanZoomBase, IMixedRealityPointerHandler, IMixedRealityFocusHandler, IMixedRealitySourceStateHandler, IMixedRealityHandJointHandler

    Methods

    ComputePanSpeed(Single, Single, Single)

    Declaration
    public override float ComputePanSpeed(float uvCursorPos, float maxSpeed, float minDistFromCenterForAutoPan)
    Parameters
    Type Name Description
    Single uvCursorPos
    Single maxSpeed
    Single minDistFromCenterForAutoPan
    Returns
    Type Description
    Single
    Overrides
    PanZoomBase.ComputePanSpeed(Single, Single, Single)

    Initialize()

    Declaration
    public override void Initialize()
    Overrides
    PanZoomBase.Initialize()

    UpdateCursorPosInHitBox()

    Determine the position of the cursor within the hitbox.

    Declaration
    public override bool UpdateCursorPosInHitBox()
    Returns
    Type Description
    Boolean

    True if this GameObject is hit.

    Overrides
    PanZoomBase.UpdateCursorPosInHitBox()

    UpdatePanZoom()

    Declaration
    public override void UpdatePanZoom()
    Overrides
    PanZoomBase.UpdatePanZoom()

    ZoomDir(Boolean)

    Declaration
    public override int ZoomDir(bool zoomIn)
    Parameters
    Type Name Description
    Boolean zoomIn
    Returns
    Type Description
    Int32
    Overrides
    PanZoomBase.ZoomDir(Boolean)

    ZoomIn()

    Declaration
    public override void ZoomIn()
    Overrides
    PanZoomBase.ZoomIn()

    ZoomOut()

    Declaration
    public override void ZoomOut()
    Overrides
    PanZoomBase.ZoomOut()

    Implements

    IMixedRealityPointerHandler
    IMixedRealityFocusHandler
    IMixedRealitySourceStateHandler
    IMixedRealityHandJointHandler
    Back to top Generated by DocFX