Class: VignetteEffect

VignetteEffect(graphicsDevice)

Implements the VignetteEffect post processing effect.

Constructor

new VignetteEffect(graphicsDevice)

Parameters:
Name Type Description
graphicsDevice pc.GraphicsDevice The graphics device of the application
Properties:
Name Type Description
offset Number Controls the offset of the effect.
darkness Number Controls the darkness of the effect.
Source:

Extends

  • pc.PostEffect