Remove needle menu and change loading logo?

I have a Pro license, I want to completely remove the bottom menu.

Added the needle menu component, unchecked everything, but QR code and fullscreen still appear.

Also, It’s possible to change loading logo ?

To remove the Needle menu completely and modify the loading logo in Needle Engine, follow these steps:

  1. Remove the Needle Menu:

    • Ensure that the NeedleMenu component is configured correctly by setting the visibility of unwanted components to false. You can do this through the setVisible method which requires a PRO license:
      import { NeedleMenu } from '@needle-tools/engine';
      
      // Obtain the menu component instance
      const menuComponent = this.context.menu; // assuming `this.context` is available and initialized
      
      // Hide the entire menu
      menuComponent.setVisible(false);
      
    • Ensure you are on a PRO license, as hiding the menu will not work in production without one (see the documentation).
  2. Change the Loading Logo:

    • To customize the loading logo, utilize the loading-logo-src attribute in the <needle-engine> component:
      <needle-engine loading-logo-src="path/to/your/logo.png"></needle-engine>
      
    • Make sure your PRO license is active to customize the loading logo (see the documentation).

By enabling these options with your Pro license, the unnecessary elements should be removed, and you can apply your custom loading logo without issues. If you continue to see elements you don’t want, double-check the settings and attributes you’ve configured. If you have further questions or need to troubleshoot specific issues, please consult the documentation or ask for additional guidance.

24 replies left
thread_8dIzcLWgPuxAnxhhD0iY86rn
Reply to this message to continue the conversation

Did the bot’s reply help?

Additionally to 2) you can check this docs page for more options on changing the logo: <needle-engine> Configuration | Needle Engine Documentation

Well, I don’t understand actually. Do I have to configure the component in typescript or c# to have this working ?

As I explained in my post, I unchecked all buttons on needle menu component, QR and fullscreen still appear.

Could you check if you have two instances of Needle Menu in your scene maybe?

The menu is not shown when nothing adds any buttons to the menu (so: if all the options on all components that can add something to the menu are off).

If the QR code button and the fullscreen button are shown, that means some component (either another “Needle Menu” component, or your own code) adds them. It’s not necessary to write code to hide the menu.