GFXAdjustment
gfx.adjustment.get_contrast
Client
Retrieves the current contrast level of the adjustment post-processing effect
Syntax
local result = gfx.adjustment.get_contrast()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | result | Current contrast value |
Examples
engine.print("info", "Current contrast:", gfx.adjustment.get_contrast())