Class UiConfigRendererTweakpane

Hierarchy

  • UiConfigRendererBase<Pane>
    • UiConfigRendererTweakpane

Constructors

  • Parameters

    • container: HTMLElement = document.body
    • __namedParameters: {
          autoPostFrame: undefined | boolean;
          expanded: undefined | boolean;
      } = {}
      • autoPostFrame: undefined | boolean
      • expanded: undefined | boolean

    Returns UiConfigRendererTweakpane

Properties

THREE: undefined | THREE = ...
_refreshQueue: Record<TUiRefreshModes, [UiObjectConfig<any, string, any>, number, undefined | string][]>
_root?: Pane
config: UiObjectConfig<any, "panel", any>
methods: UiConfigMethods
typeGenerators: {
    button: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, plugin: UiConfigRendererTweakpane, _?: any) => ButtonApi);
    checkbox: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, renderer: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    color: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, renderer: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    dropdown: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, plugin: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    dummy: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, plugin: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    folder: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, plugin: UiConfigRendererTweakpane, _?: any) => FolderApi);
    input: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, renderer: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    monitor: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, plugin: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    number: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, renderer: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    panel: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, plugin: UiConfigRendererTweakpane, _?: any) => FolderApi);
    slider: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, plugin: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    toggle: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, renderer: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    vec: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, renderer: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    vec2: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, renderer: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    vec3: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, renderer: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    vec4: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, renderer: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
    vector: ((parent: FolderApi, config: UiObjectConfig<any, string, any>, renderer: UiConfigRendererTweakpane, params?: any) => undefined | InputBindingApi<any, any> | MonitorBindingApi<any>);
} & AnyOptions = ...

Methods

  • Parameters

    • config: UiObjectConfig<any, string, any>

    Returns void

  • Parameters

    • type: "preRender" | "postRender" | "preFrame" | "postFrame"
    • listener: ((event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">) => void)
        • (event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">): void
        • Parameters

          • event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">

          Returns void

    Returns void

  • Parameters

    • mode: TUiRefreshModes | "immediate"
    • uiConfig: UiObjectConfig<any, string, any>
    • deep: boolean
    • delay: number

    Returns void

  • Parameters

    • Optional config: UiObjectConfig<any, string, any>
    • Optional params: UiObjectConfig<any, string, any>

    Returns void

  • Parameters

    • event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">

    Returns void

  • Returns void

  • Disposes the UI associated with a config, doesn't makes change to the object or its parent.

    Parameters

    • Optional config: UiObjectConfig<any, string, any>
    • Optional performDispose: boolean

    Returns void

  • Parameters

    • type: "preRender" | "postRender" | "preFrame" | "postFrame"
    • listener: ((event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">) => void)
        • (event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">): void
        • Parameters

          • event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">

          Returns void

    Returns boolean

  • Parameters

    • mode: TUiRefreshModes

    Returns void

  • Parameters

    • Optional deep: boolean
    • Optional mode: TUiRefreshModes | "immediate"
    • Optional delay: number

    Returns void

  • Parameters

    • config: UiObjectConfig<any, string, any>

    Returns void

  • Parameters

    • type: "preRender" | "postRender" | "preFrame" | "postFrame"
    • listener: ((event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">) => void)
        • (event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">): void
        • Parameters

          • event: IEvent<"preRender" | "postRender" | "preFrame" | "postFrame">

          Returns void

    Returns void

  • Parameters

    • uiConfig: UiObjectConfig<any, string, any>

    Returns void

  • Parameters

    • uiConfig: UiObjectConfig<any, string, any>
    • Optional parent: FolderApi

    Returns void

Generated using TypeDoc