Class PostProcessModule

EntityBase.

Hierarchy (view full)

Implements

Constructors

Properties

_app?: App
_composer: EffectComposer
_destroyed: boolean = false
_isFirstRender: boolean = true
_passes: Pass[] = []
appRenderIndex: number = 0
data: ShallowReactive<{
    [key: string]: any;
}> = ...

Type declaration

  • [key: string]: any
depthPickingPass: DepthPickingPass
extData: {
    [key: string]: any;
} = {}

Type declaration

  • [key: string]: any
instanceId: number = ++AppObject._instanceIdCounter
onSetApp: Signal = ...
signal: {
    afterAddComposer: Signal;
    afterAddRenderPass: Signal;
    afterRebuild: Signal;
    afterRemoveComposer: Signal;
    afterRemoveRenderPass: Signal;
    afterRenderComposer: Signal;
    beforRebuild: Signal;
    beforRenderComposer: Signal;
    beforeAddComposer: Signal;
    beforeAddRenderPass: Signal;
    beforeRemoveComposer: Signal;
    beforeRemoveRenderPass: Signal;
} = ...

Type declaration

moduleName: string = "PostProcessModule"

Accessors

  • get app(): App
  • Returns App

  • set app(value): void
  • Parameters

    Returns void

  • get destroyed(): boolean
  • Whether it has been destroyed.

    Returns boolean

  • get enabled(): boolean
  • Indicates whether the component is enabled.

    Returns boolean

  • set enabled(value): void
  • Parameters

    • value: boolean

    Returns void

Methods

  • Returns void

  • Returns void

  • Parameters

    • pass: Pass
    • Optional orderIndex: number

    Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Parameters

    • toClassInst: any
    • Optional methodNames: string[]
    • Optional addMethods: string[]
    • Optional filterName: string[]

    Returns void

  • 触发指定事件名称.

    Parameters

    • event: string

      Event name

    • Rest ...data: any

      Data

    Returns boolean

    • Whether the dispatching is successful
  • 返回注册的所有事件名.

    Returns string[]

    所有事件名

  • Parameters

    • x: number
    • y: number

    Returns Promise<number>

  • 确定是否存在事件侦听

    Parameters

    • event: string

      事件名

    Returns boolean

    返回是否存在相应的事件

  • Returns boolean

  • 返回具有指定事件名称的侦听总数.

    Parameters

    • event: string

      Event name

    Returns number

    The count of listeners

  • Parameters

    • Optional foreceUpdate: boolean

    Returns void

  • 通过事件名移除所有监听.

    Parameters

    • Optional event: string

      Event name, delete all events if not passed

    Returns void

  • Parameters

    Returns void

  • Parameters

    • b: boolean

    Returns void

  • Parameters

    • pass: Pass
    • enable: boolean

    Returns void

  • Parameters

    • pass: Pass
    • orderIndex: number

    Returns void