Bitbybit Docs
    Preparing search index...

    Class AlignmentDto<T> (Inputs.BabylonGui)

    Feeds babylon.gui.control.changeControlAlignment and textBlock.alignText with a control and where it sits inside its parent.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    control: T

    The control to align in place

    undefined
    
    horizontalAlignment: horizontalAlignmentEnum

    Left, center or right inside the parent

    center
    

    Top, center or bottom inside the parent

    center