Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

  • new default(__namedParameters: { height?: number; passName: string; width?: number }): <internal>.default
  • Parameters

    • __namedParameters: { height?: number; passName: string; width?: number }
      • Optional height?: number
      • passName: string
      • Optional width?: number

    Returns <internal>.default

Properties

_context: RenderContext3D
_coreDataMap: any
_generateShadowQueue: any

构建阴影队列

第一次构建:过滤castShadow & !Transparent

memberof

ShadowPass

_hasLightShadowChanged: any
_height: any
_lastCastingLights: any
_listeners: Map<string, TinoeEventListener[]>
_passContext: { syncShadowCoreData?: any }

Type declaration

  • syncShadowCoreData?:function
    • syncShadowCoreData(data: CoreData): void
    • Parameters

      Returns void

_projectionMatrix: any
_queue: any
_shadowLightMap: any
_shadowMaps: any
_viewMatrix: any
_width: any
coreData: CoreData
enabled: boolean
name: string
parent: EventEmitter
priority: number
renderTarget: <internal>.default
replaceMaterial: Material

Methods

  • addEventListener(type: string, handler: ((data: any) => any), once?: boolean): void
  • 注册handler

    memberof

    EventEmitter

    Parameters

    • type: string
    • handler: ((data: any) => any)
        • (data: any): any
        • Parameters

          • data: any

          Returns any

    • Optional once: boolean

    Returns void

  • dispatch(type: string, data?: any): void
  • 派发事件

    memberof

    EventEmitter

    Parameters

    • type: string
    • Optional data: any

    Returns void

  • off(type?: string, handler?: ((data: any) => any)): void
  • 注销事件

    memberof

    EventEmitter

    Parameters

    • Optional type: string
    • Optional handler: ((data: any) => any)
        • (data: any): any
        • Parameters

          • data: any

          Returns any

    Returns void

    {void}

  • on(type: string, handler: ((data: any) => any), once?: boolean): void
  • 注册handler

    memberof

    EventEmitter

    Parameters

    • type: string
    • handler: ((data: any) => any)
        • (data: any): any
        • Parameters

          • data: any

          Returns any

    • Optional once: boolean

    Returns void

  • postRender(): void
  • Returns void

  • preRender(): void
  • Returns void

  • removeEventListener(type?: string, handler?: ((data: any) => any), once?: boolean): void
  • 注销handler

    memberof

    EventEmitter

    Parameters

    • Optional type: string
    • Optional handler: ((data: any) => any)
        • (data: any): any
        • Parameters

          • data: any

          Returns any

    • Optional once: boolean

    Returns void

  • render(): void
  • Returns void

  • syncContext(passContext: { syncShadowCoreData?: any }, renderContext: RenderContext3D): void
  • Parameters

    • passContext: { syncShadowCoreData?: any }
      • syncShadowCoreData?:function
        • syncShadowCoreData(data: CoreData): void
        • Parameters

          Returns void

    • renderContext: RenderContext3D

    Returns void

Generated using TypeDoc