Scripting Command MARUI_Display

Scripting Command MARUI_Display

Query and set display options.

Parameters:

-shading (-sha) <string>
Get / set shading mode. Possible values are “Wireframe”, “Solid”, “Textured”, “Wireframe on Solid”, “Wireframe on Textured”, and “toggle”.

lighting (-lgh) <string>
Set / get lighting mode. Possible values are “Default”, “All Lights”, “Selected Lights”, “Ambient” and “toggle”.

-backfaceCulling (-bfc) <boolean>
Enable / disable backface culling.

lineWidth (-lw) <float>
Set / get display line width (for edges and NURBS curves), in pixels.

-shadows (-shd) <boolean>
Enable / disable cast shadows.

-twoSidedLighting (-tsl) <boolean>
Enable / disable two-sided lighting in rendering.

-ssaoEnable (-aoe) <boolean>
Enable / disable screen-space ambient occlusion.

-ssaoAmount (-aoa) <float>
Set / gt the amount for ambient occlusion rendering (0..3).

-ssaoRadius (-aor) <int>
Set / get the radius of ambient occlusion rendering (1..64; default=16).

-ssaoFilterRadius (-aof) <int>
Set / get the filter radius of ambient occlusion rendering (1..32; default=16).

-ssaoSamples (-aos) <int>
Set / get the number of samples for ambient occlusion rendering (8, 16, or 32; default=16).

-lookThroughSelectedFrame (-ltf) <int>
Enable / disable whether to display a frame when looking-through-selected. 0 = disabled, 1 = enabled, -1 = toggle.