set enable antialiasing||doc135729

September 20, 2022

Format

 GameSettings:setEnableAntiAliasing(_val) 

Description

Set whether to enable antialiasing. Anti-aliasing, also known as anti-aliasing, is used to eliminate the jagged edges of objects in the image output by the monitor. Aliasing is usually caused by graphics aliasing when high definition is represented at low resolution or when the coordinates of the 3D graphics cannot be accurately calculated.


Parameters

Variable name type Description
_val boolean Whether to enable


Code Samples

Blockman.Instance().gameSettings:setEnableAntiAliasing(true)
print(Blockman.Instance().gameSettings:getEnableAntiAliasing())