@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in
34 lines (33 loc) • 1.14 kB
TypeScript
import { Behaviour } from './Component.js';
/**
* Exposes options to customize the built-in Needle Menu.
* From code, you can access the menu via {@link Context.menu}.
* @category User Interface
* @group Components
**/
export declare class NeedleMenu extends Behaviour {
position: "top" | "bottom";
/** Show the Needle logo in the menu (requires PRO license) */
showNeedleLogo: boolean;
/** When enabled the menu will also be visible in VR/AR when you look up
* @default undefined
*/
showSpatialMenu?: boolean;
/** When enabled a button to enter fullscreen will be added to the menu
* @default undefined
*/
createFullscreenButton?: boolean;
/** When enabled a button to mute the application will be added to the menu
* @default undefined
*/
createMuteButton?: boolean;
/**
* When enabled a button to show a QR code will be added to the menu.
* @default undefined
*/
createQRCodeButton?: boolean;
/** @hidden */
onEnable(): void;
/** applies the options to `this.context.menu` */
applyOptions(): void;
}