Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "components/xypad"

Index

Functions

Functions

Const xyPad

  • xyPad(gui: IMGUI, layout: IGridLayout, id: string, min: Vec, max: Vec, prec: number, val: Vec, mode: number, yUp: boolean, label?: undefined | string, fmt?: Fn<Vec, string>, info?: undefined | string): undefined | Vec
  • mode interpretation:

    • -2 = square
    • -1 = proportional height (snapped to rows)
    • 0 = fixed row height

    Parameters

    • gui: IMGUI

      -

    • layout: IGridLayout

      -

    • id: string

      -

    • min: Vec

      -

    • max: Vec

      -

    • prec: number

      -

    • val: Vec

      -

    • mode: number

      -

    • yUp: boolean

      -

    • Optional label: undefined | string

      -

    • Optional fmt: Fn<Vec, string>

      -

    • Optional info: undefined | string

      -

    Returns undefined | Vec

Const xyPadRaw

  • xyPadRaw(gui: IMGUI, id: string, x: number, y: number, w: number, h: number, min: Vec, max: Vec, prec: number, val: Vec, yUp?: boolean, lx: number, ly: number, label?: undefined | string, fmt?: Fn<Vec, string>, info?: undefined | string): undefined | Vec
  • Parameters

    • gui: IMGUI
    • id: string
    • x: number
    • y: number
    • w: number
    • h: number
    • min: Vec
    • max: Vec
    • prec: number
    • val: Vec
    • Default value yUp: boolean = false
    • lx: number
    • ly: number
    • Optional label: undefined | string
    • Optional fmt: Fn<Vec, string>
    • Optional info: undefined | string

    Returns undefined | Vec

Generated using TypeDoc