Skip to content

render_3d_init_ext

Nabil Sekirime edited this page Mar 16, 2018 · 2 revisions

render_3d_init_ext

Initializes 3D functionality with all the settings for the bundled functions as arguments

Description

This function calls all the relevant functions for forcing 3D rendering, with arguments to control how things are rendered.

Syntax:

render_3d_init_ext(zwrite,ztest,cullmode,alphatest)

Argument Description
zwrite The Index of the Camera that you are creating (0 - 9)
ztest Whether or not the camera is being drawn (True or False)
cullmode Sets the culling mode (either cull_noculling, cull_clockwise, or cull_counterclockwise)
alphatest Sets the cutoff alpha value for textures (0 - 255)

Example

render_3d_init_ext(true,true,cull_noculling,100);

Clone this wiki locally