Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FrameBufferPickerPlugin

Hierarchy

Index

Constructors

Properties

_height: any
_mode: any
_renderPlugin: any
_width: any
renderPass: ColorRenderPass
renderTarget: <internal>.default
passName: string

Accessors

  • Returns FBPMode

  • Parameters

    Returns void

  • set onPick(fun: ((...args: any[]) => void)): void
  • Parameters

    • fun: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns void

Methods

  • beforeRender时将renderPass加入到renderPipeline

    memberof

    FrameBufferPickerPlugin

    Parameters

    Returns void

  • destroy(): void
  • 销毁

    memberof

    FrameBufferPickerPlugin

    Returns void

  • pick(x: number, y: number): any
  • 拾取 静态模式: 直接调用拾取 动态模式: enable pass 拾取在postRender做

    memberof

    FrameBufferPickerPlugin

    Parameters

    • x: number
    • y: number

    Returns any

  • record(): void
  • 仅在静态模式下调用,预生成ct enable pass后color-pass渲染到纹理

    memberof

    FrameBufferPickerPlugin

    Returns void

Generated using TypeDoc