Modifier

Partager via


InputDataExampleGizmo Class

Definition

Attach this component to a game object to synchronize the objects position and rotation to the given input type. If the input data is not available, the component will hide the object by disabling all renderers.

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

Constructors

InputDataExampleGizmo()

Fields

handedness
sourceType

Methods

Update()

Applies to