편집

다음을 통해 공유


RotateWithConstSpeedDir Class

Definition

The associated GameObject will rotate when RotateTarget() is called based on a given direction and speed.

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

Constructors

RotateWithConstSpeedDir()

Methods

RotateTarget()

Rotate game object based on specified rotation speed and Euler angles.

Applies to