Bearbeiten

Freigeben über


SpeechConfirmationTooltip Class

Definition

Tooltip used for speech confirmation label. This inherits ToolTip class and provides generic text string interface for the label. To create your own speech confirmation label, override SpeechConfirmationTooltip and provide SetText(string s) and TriggerConfirmationAnimation() functions. Assign the prefab to the SpeechInputHandler.cs

public ref class SpeechConfirmationTooltip : Microsoft::MixedReality::Toolkit::UI::ToolTip
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/SpeechConfirmationTooltip")]
public class SpeechConfirmationTooltip : Microsoft.MixedReality.Toolkit.UI.ToolTip
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/SpeechConfirmationTooltip")>]
type SpeechConfirmationTooltip = class
    inherit ToolTip
Public Class SpeechConfirmationTooltip
Inherits ToolTip
Inheritance
UnityEngine.MonoBehaviour
SpeechConfirmationTooltip
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

SpeechConfirmationTooltip()

Properties

Anchor

getter/setter for ameObject that the line and text are attached to

(Inherited from ToolTip)
AnchorPosition

point where ToolTip connector is attached

(Inherited from ToolTip)
AttachPointPosition

point where ToolTip is attached

(Inherited from ToolTip)
ContentParentTransform

Transform of object to which ToolTip is attached

(Inherited from ToolTip)
ContentScale

The scale of all the content (label, backgrounds, etc.)

(Inherited from ToolTip)
FontSize

The font size of the tooltip.

(Inherited from ToolTip)
GroupTipState

Display the state of a group of tooltips.

(Inherited from ToolTip)
HasFocus

does the ToolTip have focus.

(Inherited from ToolTip)
IsOn

is ToolTip active and displaying

(Inherited from ToolTip)
LocalContentOffset

The offset of the background (x / y / z)

(Inherited from ToolTip)
LocalContentSize

getter/setter for size of tooltip.

(Inherited from ToolTip)
MasterTipState

Display the state of the master tooltip.

(Inherited from ToolTip)
Pivot

Pivot point that text will rotate around as well as the point where the Line will be rendered to.

(Inherited from ToolTip)
PivotPosition

point about which ToolTip pivots to face camera

(Inherited from ToolTip)
PivotType (Inherited from ToolTip)
ShowBackground

Show the opaque background of tooltip.

(Inherited from ToolTip)
ShowConnector

Show the connecting stem between the tooltip and its parent GameObject.

(Inherited from ToolTip)
ShowHighlight

Shows white trim around edge of tooltip.

(Inherited from ToolTip)
TipState

The display the state of the tooltip.

(Inherited from ToolTip)
ToolTipText

Text for the ToolTip to display

(Inherited from ToolTip)

Methods

EnforceHierarchy() (Inherited from ToolTip)
OnEnable()

virtual functions

(Inherited from ToolTip)
RefreshLocalContent() (Inherited from ToolTip)
SetText(String)
TriggerConfirmedAnimation()
Update() (Inherited from ToolTip)

Applies to