API

Class NodeRenderGraphHighlightLayerBlock

Block that implements the highlight layer

Hierarchy (View Summary)

Index
  • Create a new NodeRenderGraphHighlightLayerBlock

    Parameters

    • name: string

      defines the block name

    • frameGraph: FrameGraph

      defines the hosting frame graph

    • scene: Scene

      defines the hosting scene

    • layerTextureRatio: number = 0.5

      multiplication factor applied to the main texture size to compute the size of the layer render target texture (default: 0.5)

    • OptionallayerTextureFixedSize: number

      defines the fixed size of the layer render target texture. Takes precedence over layerTextureRatio if provided (default: undefined)

    • blurTextureSizeRatio: number = 0.5

      defines the factor to apply to the layer texture size to create the blur textures (default: 0.5)

    • isStroke: boolean = false

      should we display highlight as a solid stroke? (default: false)

    • layerTextureType: any = Constants.TEXTURETYPE_UNSIGNED_BYTE

      defines the type of the layer texture (default: Constants.TEXTURETYPE_UNSIGNED_BYTE)

    Returns NodeRenderGraphHighlightLayerBlock

comments: string

A free comment about the block

onBuildObservable: Observable<NodeRenderGraphBlock> = ...

Gets an observable raised when the block is built

uniqueId: number

Gets or sets the unique id of the node

visibleOnFrame: boolean = false

Gets or sets a boolean indicating that this input can be edited from a collapsed frame