Bitbybit Docs
    Preparing search index...

    Class SetTextBlockResizeToFitDto (Inputs.BabylonGui)

    Feeds babylon.gui.textBlock.setRsizeToFit with a text block and whether it sizes itself to its text.

    Index

    Constructors

    Properties

    Constructors

    Properties

    textBlock: TextBlock

    The text block to change in place

    undefined
    
    resizeToFit: boolean

    When true, the block grows or shrinks to fit its text instead of keeping its set size

    false