Bitbybit Docs
    Preparing search index...

    Class AddControlsToContainerDto<C> (Inputs.BabylonGui)

    Feeds babylon.gui.container.addControls: the container, the controls to put in it and whether to empty it first.

    Type Parameters

    Index

    Constructors

    • Type Parameters

      • C extends any = any

      Parameters

      • Optionalcontainer: C
      • Optionalcontrols: Control[]
      • OptionalclearControlsFirst: boolean

      Returns AddControlsToContainerDto<C>

    Properties

    container: C

    The panel that receives the controls as its children, or a full-screen or mesh UI (advancedDynamicTexture), which takes them at its root

    undefined
    
    controls: Control[]

    The controls to add, in the order they should appear

    undefined
    
    clearControlsFirst?: boolean

    When true, the container is emptied first, so the order is exactly the list's

    true