Skip to main content

PostproductionRenderer

A class that extends RendererWith2D and adds post-processing capabilities. 📕 Tutorial. 📘 API.

Extends

Properties

manualDefaultStyle

manualDefaultStyle: PostproductionAspect = PostproductionAspect.COLOR

The default style to use when the mode is MANUAL.


manualModeDelay

manualModeDelay: number = 50

The delay in milliseconds to wait before turning the postproduction back on when the mode is MANUAL.


three2D

three2D: CSS2DRenderer

This renderer is used to render 2D objects (CSS2DObjects) in a 3D scene.

Inherited from

RendererWith2D . three2D


turnOffOnManualMode

turnOffOnManualMode: boolean = true

Whether the postproduction will temporarily be turned off when the mode is MANUAL to get a more fluid navigation experience.

Accessors

postproduction

get postproduction(): Postproduction

Getter for the postproduction instance. Throws an error if the postproduction instance is not yet initialized.

Returns

Postproduction

The initialized Postproduction instance.

Methods

dispose()

dispose(): void

OBC.Disposable.dispose.

Returns

void

Overrides

RendererWith2D.dispose


update()

update(): void

Updateable.update

Returns

void

Overrides

RendererWith2D.update