Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Accessors

childCount

  • get childCount(): number
  • Returns the count of the widgets children.

    Returns number

enabled

  • get enabled(): boolean
  • set enabled(value: boolean): any
  • Get/set whether the target widget is enabled.

    Returns boolean

  • Get/set whether the target widget is enabled.

    Parameters

    • value: boolean

    Returns any

height

  • get height(): number
  • set height(value: number): any
  • Allows to **get/**set the height of the target widget.

    Returns number

  • Allows to **get/**set the height of the target widget.

    Parameters

    • value: number

    Returns any

positionX

  • get positionX(): number
  • set positionX(value: number): any
  • Allows to **get/**set the x position of the target widget within it's local space.

    Returns number

  • Allows to **get/**set the x position of the target widget within it's local space.

    Parameters

    • value: number

    Returns any

positionY

  • get positionY(): number
  • set positionY(value: number): any
  • Allows to **get/**set the y position of the target widget within it's local space.

    Returns number

  • Allows to **get/**set the y position of the target widget within it's local space.

    Parameters

    • value: number

    Returns any

rotation

  • get rotation(): number
  • set rotation(value: number): any
  • Allows to **get/**set the rotation of the target widget within it's local space.

    Returns number

  • Allows to **get/**set the rotation of the target widget within it's local space.

    Parameters

    • value: number

    Returns any

width

  • get width(): number
  • set width(value: number): any
  • Allows to **get/**set the width of the target widget.

    Returns number

  • Allows to **get/**set the width of the target widget.

    Parameters

    • value: number

    Returns any

Methods

getChild

  • getChild(widgetArrayPosition: number): YUiWidget
  • Returns the nth child of the widget.

    Parameters

    • widgetArrayPosition: number

    Returns YUiWidget

getFirstChildByName

  • getFirstChildByName(name: string, recursive: boolean): YUiWidget
  • Returns the first child with the specified name.

    Parameters

    • name: string
    • recursive: boolean

    Returns YUiWidget

Generated using TypeDoc