Edit

Bagikan melalui


InputSimulationIndicators Class

Definition

A row of indicator buttons to control input simulation features.

public ref class InputSimulationIndicators : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/InputSimulationIndicators")]
[System.Serializable]
public class InputSimulationIndicators : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/InputSimulationIndicators")>]
[<System.Serializable>]
type InputSimulationIndicators = class
    inherit MonoBehaviour
Public Class InputSimulationIndicators
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
InputSimulationIndicators
Attributes
UnityEngine.AddComponentMenuAttribute SerializableAttribute

Constructors

InputSimulationIndicators()

Fields

iconHandActiveLeft

Icon for left hand when under user control.

iconHandActiveRight

Icon for right hand when under user control.

iconHandIdleLeft

Icon for left hand when visible but not actively controlled.

iconHandIdleRight

Icon for right hand when visible but not actively controlled.

iconHandUntrackedLeft

Icon for left hand when untracked.

iconHandUntrackedRight

Icon for right hand when untracked.

imageHandLeft

Component displaying the left hand icon.

imageHandRight

Component displaying the right hand icon.

Methods

ResetLeftHand()

Reset the state of the left hand to default.

ResetRightHand()

Reset the state of the right hand to default.

ToggleLeftHand()

Toggle permanent visibility of the left hand.

ToggleRightHand()

Toggle permanent visibility of the right hand.

Applies to