new Blur(radius, numSamples, radius)
Parameters:
Name | Type | Description |
---|---|---|
radius |
number | The radius of the blur. |
numSamples |
The amount of samples used to calculate the blur in each direction. Cannot be changed after creation. |
|
radius |
The radius of the blur. |
Extends
Members
-
entity
-
The target entity.
- Inherited From:
-
onUpdate
-
If provided, this method will be called every frame, allowing updating the entity.
- Inherited From:
Methods
-
_swapHDRFrontAndBack()
-
Child classes need to call this when rendering to and from full-resolution textures. This will effectively swap hdrSource and hdrTarget to allow ping-ponging.
- Inherited From:
-
isSupported()
-
Returns whether this Effect is supported considering the current capabilities.
- Inherited From: