Навчання
Модуль
Getting started with 3D object interaction - Training
This course will provide steps and procedures to follow on how to manipulate and interact with 3D objects.
Цей браузер більше не підтримується.
Замініть його на Microsoft Edge, щоб користуватися перевагами найновіших функцій, оновлень безпеки та технічної підтримки.
Near Menu is a UX control which provides a collection of buttons or other UI components. It is floating around the user's body and easily accessible anytime. Since it is loosely coupled with the user, it does not disturb the user's interaction with the target content. The user can use the 'Pin' button to world-lock/unlock the menu. The menu can be grabbed and placed at a specific position.
Near Menu prefabs are designed to demonstrate how to use MRTK's various components to build menus for near interactions.
You can find examples of Near Menu prefabs in the NearMenuExamples
scene.
Near Menu prefabs are made with following MRTK components.
1. Add/Remove Buttons
Under ButtonCollection
object, add or remove buttons.
2. Update the Grid Object Collection
Click Update Collection
button in the Inspector of the ButtonCollection
object. It will update the grid layout.
You can configure the number of rows using Rows
property of the Grid Object Collection.
3. Adjust the backplate size
Adjust the size of the Quad
under Backplate
object. The width and height of the backplate should be 0.032 * [Number of the buttons + 1]
. For example, if you have 3 x 2 buttons, the width of the backplate is 0.032 * 4
and the height is 0.032 * 3
. You can directly put this expression into the Unity's field.
Навчання
Модуль
Getting started with 3D object interaction - Training
This course will provide steps and procedures to follow on how to manipulate and interact with 3D objects.
Документація
Hand Menu Example scene in MRTK
Description for Dialog Controls.
Overview on Interactable script component in MRTK