Bitbybit Docs
    Preparing search index...

    Class CloneControlDto (Inputs.BabylonGui)

    Feeds babylon.gui.control.cloneControl: the control to copy, the container the copy goes into, its name and its host texture.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalcontrol: Control
      • Optionalcontainer: Container
      • Optionalname: string
      • Optionalhost: AdvancedDynamicTexture

      Returns CloneControlDto

    Properties

    control: Control

    The control to copy; it stays as it is

    undefined
    
    container?: any

    The container the copy is added to; left out, the copy is not placed anywhere yet

    undefined
    

    true

    name: string

    Name the copy is known by

    clonedControl
    
    host?: any

    The GUI texture the copy belongs to; left out, the original's host is used

    undefined
    

    true