편집

다음을 통해 공유


RotateWithPan Class

Definition

Rotates a game object in response to panning motion from the specified panzoom component.

public ref class RotateWithPan : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/RotateWithPan")]
public class RotateWithPan : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/RotateWithPan")>]
type RotateWithPan = class
    inherit MonoBehaviour
Public Class RotateWithPan
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
RotateWithPan
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

RotateWithPan()

Methods

OnPanEnded(HandPanEventData)
OnPanning(HandPanEventData)
OnPanStarted(HandPanEventData)

Applies to