Skip to content
On this page

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:193


create

Usage

AthenaClient.rmlui.menu3d.create(pos, options, maxDistance?): void

Create an in-world 3D menu with maximum options.

Parameters

NameTypeDefault valueDescription
posIVector3undefinedA position in the world.
optionsOptionFor3DMenu[]undefined
maxDistancenumber8

Returns

void

Defined in

client/rmlui/menu3d/index.ts:167

Created by Stuyk | Est. 2020