AthenaClient.rmlui.menu3d ​
Functions ​
close ​
Usage
AthenaClient.rmlui.menu3d.close(): Promise
<void
>
Call this function to close the menu. Make sure to wait for it to close before opening a new menu.
Returns ​
Promise
<void
>
Defined in ​
client/rmlui/menu3d/index.ts:192
create ​
Usage
AthenaClient.rmlui.menu3d.create(pos
, options
, maxDistance?
): void
Create an in-world 3D menu with maximum options.
Parameters ​
Name | Type | Default value | Description |
---|---|---|---|
pos | IVector3 | undefined | A position in the world. |
options | OptionFor3DMenu [] | undefined | |
maxDistance | number | 8 |
Returns ​
void