RotateAroundPoint Class
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.
This class provides functionality to rotate the hand hint around a pivot point over time.
public ref class RotateAroundPoint : UnityEngine::MonoBehaviour
public class RotateAroundPoint : UnityEngine.MonoBehaviour
type RotateAroundPoint = class
inherit MonoBehaviour
Public Class RotateAroundPoint
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourRotateAroundPoint
Animation |
Lerp curve that controls the animation rotation over time. |
Centered |
Parent object centered at rotation center. |
Duration |
Duration of rotation around the CenteredParent in seconds. |
Inverse |
Hand hint parent to rotate inverse to centeredParent to keep hand orientation the same. |
Pivot |
Point to start movement at. |
Rotation |
How many degrees to rotate along each axis. |
Late |
|
Reset |
Reset position to the PivotPosition. |
Rotate |
Start the rotation sequence. |
Toode | Versioonid |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4 |