RotateWithPan 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.
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.MonoBehaviourRotateWithPan
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Constructors
RotateWithPan() |
Methods
OnPanEnded(HandPanEventData) | |
OnPanning(HandPanEventData) | |
OnPanStarted(HandPanEventData) |