Scripting/Squirrel/Functions/SetBackfaceCullingDisabled: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "This function will enable/disable backface culling. Vice City enables it by default, that's why some objects around the map are not visible from all view angles. To better und...")
(No difference)

Revision as of 09:50, 26 August 2017

This function will enable/disable backface culling. Vice City enables it by default, that's why some objects around the map are not visible from all view angles. To better understand what it is supposed to do, try to disable it in your server.

Syntax

SetBackfaceCullingDisabled( bool )

Arguments

  • bool toggle - true or false.

Example

function onScriptLoad()
{
    SetBackfaceCullingDisabled( true );
}

Notes

Call onScriptLoad was used in this example.


Related Functions