gfx.adjustment.set_enabled
Client
Toggles the adjustment post-processing effect
Syntax
local status = gfx.adjustment.set_enabled(
state
)Parameters
| Type | Name | Description |
|---|---|---|
bool | state | Determines adjustment's state: • When true - the adjustment is enabled• When false - the adjustment is disabled |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
-- Enable adjustment
gfx.adjustment.set_enabled(true)
-- Disable adjustment
gfx.adjustment.set_enabled(false)