M MY Multiplayer: Wiki
Side
Kind

engineGetReflections

Client

Returns the reflection settings.

int, float, int|false engineGetReflections()

Returns

The environment probe's size, the screen-space reflections' scale and the steps of each ray, or false if the renderer is not running.

Example

local probeSize, marchScale, marchSteps = engineGetReflections()
engineSetReflections(probeSize, marchScale, 12)

See also