A constructor defined in BBMOD_LensDistortionEffect.gml
Extends BBMOD_PostProcessEffect
new BBMOD_LensDistortionEffect([_strength[, _zoom]])
Barell and pincushion lens distortion (post-processing effect).
Name | Type | Description |
---|---|---|
_strength | Real |
The strength of the effect. Use positive values for barell distortion and negative for pincushion distortion. Defaults to 0 (no distortion). |
_zoom | Real |
Zoom in into the surface. Must be greater than 0! Defaults to 1 (no zoom). |
Name | Description |
---|---|
Strength | The strength of the effect. Use positive values for barell distortion and negative for pincushion distortion. Default value is 0 (no distortion). |
Zoom | Zoom in into the surface. Must be greater than 0! Default value is 1 (no zoom). |
Name | Description |
---|---|
Enabled | If true then the effect is enabled. Default value is true . |
PostProcessor | The post-processor to which is this effect added or undefined . |
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.