CLASSES
TagsA - Z

BlurPostProcess

PostProcess

Description

class BlurPostProcess extends PostProcess

Builtin postprocess applying a directional blur

Constructor

new BlurPostProcess(name, direction, kernel, options, PostProcessOptions, camera, samplingMode, engine, reusable, textureType)

Parameters

Name Type Description
name string The postprocess name
direction Vector2 The direction of the blur
kernel number
options number or PostProcessOptions
camera Camera The scene camera linked to this post process
optional samplingMode number Texture.NEAREST_SAMPLINGMODE, Texture.BILINEAR_SAMPLINGMODE or Texture.TRILINEAR_SAMPLINGMODE
optional engine Engine The engine to attach the postprocess.
optional reusable boolean

Members

direction : Vector2

The direction of the blur

kernel : number

Gets the length in pixels of the blur sample region

Sets the length in pixels of the blur sample region