ButtonButton
按鈕可讓您的使用者在混合現實體驗中觸發立即動作。A button lets your users trigger immediate actions in a mixed reality experience. 在 HoloLens 2 中,按鈕具有視覺提示和 affordances,可協助提高對使用者的互動。In HoloLens 2, buttons have visual cues and affordances that help increase interaction confidence with users.
近亮光Proximity light
焦點醒目提示Focus highlight
壓縮框架Compressing cage
觸發程式上的脈衝Pulse on trigger
MRTK 中的按鈕 (混合現實工具組) for UnityButton in MRTK(Mixed Reality Toolkit) for Unity
MRTK 提供各種類型的按鈕 prefabs,包括 HoloLens 2 的 shell 樣式按鈕,以及 HoloLens (第1代) 。MRTK provides various types of button prefabs, including shell-style buttons for HoloLens 2 and HoloLens (1st gen). HoloLens 2 按鈕預製專案包含數個詳細 affordances,可協助提升使用者的信心:The HoloLens 2 button prefab contains several detailed affordances that help improve user confidence:
鄰近性醒目提示Proximity-based highlight
壓縮 front 籠Compressing front cage
對觸發程式的脈衝效果。Pulse effect on trigger.
如需詳細指示和自訂的範例,請參閱 MRTK 按鈕 。Check out the MRTK - Button for more instructions and customized examples.
請參閱See also
- 游標Cursors
- 手部光線Hand ray
- ButtonButton
- 可互動的物件Interactable object
- 週框方塊和應用程式列Bounding box and App bar
- 操作Manipulation
- 手部功能表Hand menu
- 近端功能表Near menu
- 物件集合Object collection
- 語音命令Voice command
- 鍵盤Keyboard
- 工具提示Tooltip
- 平板Slate
- 滑桿Slider
- 著色器Shader
- 佈告板和常駐標籤Billboarding and tag-along
- 顯示進度Displaying progress
- 表面磁性Surface magnetism