-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation on ARENA UI elements
- Loading branch information
Showing
6 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: UI Elements | ||
layout: default | ||
parent: 3D Content | ||
--- | ||
# ARENA UI Elements | ||
|
||
You can use several UI elements in the ARENA, including text and image panels, button panels, and | ||
popup prompts. | ||
|
||
## ARENAUI Card - a text and image panel | ||
|
||
A card is a rectangular panel that can contain text and/or an image. It can be used to display | ||
information or act as a sign. Its layout will dynamic adjust according to the optional parameters | ||
that are provided: for instance, if no image is provided, then only text will be displayed. If only | ||
a title is provided, it will serve more as a label or sign. An optional close button may also added. | ||
|
||
![img](/assets/img/3dcontent/ui-card.png) | ||
|
||
See the full [ARENAUI Card schema](/content/schemas/message/arenaui-card) for more details. | ||
|
||
## ARENAUI Button Panel | ||
A button panel is a horizontal or vertical panel that contains buttons. Each button can have a | ||
text or image label. When a button is clicked, a message is sent over pubsub with | ||
the `buttonName` and `buttonIndex`. | ||
|
||
![img](/assets/img/3dcontent/ui-button-panel.png) | ||
|
||
See the full [ARENAUI Button Panel schema](/content/schemas/message/arenaui-button-panel) for more details. | ||
|
||
## ARENAUI Prompt | ||
Similar to a button panel, this prompt is intended to be used a quick confirmation popup. | ||
Its buttons may be customized and an additional text description can be included, similar | ||
to what one may see in traditional 2D web interfaces. | ||
|
||
![img](/assets/img/3dcontent/ui-prompt.png) | ||
|
||
See the full [ARENAUI Prompt schema](/content/schemas/message/arenaui-prompt) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters