HISE Logo Forum
    • Categories
    • Register
    • Login

    How to make fade in & fade out with panels

    Scheduled Pinned Locked Moved Scripting
    2 Posts 2 Posters 128 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Lumi283
      last edited by

      Hi, i search how to make fade in & fade out with panels (so that panels appear gradually rather than abruptly) Someone would know how to do? thank you

      ulrikU 1 Reply Last reply Reply Quote 0
      • ulrikU
        ulrik @Lumi283
        last edited by

        @Lumi283 You can use the "Global Animator" to this

        const var ScriptPanel1 = Content.getComponent("ScriptPanel1");
        
        //	USING THE GLOBAL ANIMATOR
        inline function onFadeInOutControl(component, value)
        {
        	ScriptPanel1.fadeComponent(value, 1000);
        };
        
        Content.getComponent("FadeInOut").setControlCallback(onFadeInOutControl);
        
        

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

        1 Reply Last reply Reply Quote 1
        • First post
          Last post

        29

        Online

        1.8k

        Users

        12.0k

        Topics

        104.6k

        Posts