d3d_end

Tells GameMaker: Studio that 3D mode is to be switched off.

Syntax:

d3d_end()


Returns: N/A


Description

This function should be called whenever you wish to tell GameMaker: Studio to stop drawing in 3D mode, and resume normal drawing.


Example:

d3d_end();

This code has been called in a destroy event to end all 3D drawing, for example, after the main game has finished and you wish to return the player to a 2D menu screen.


Back: 3D Setup
Next: d3d_set_hidden
© Copyright YoYo Games Ltd. 2018 All Rights Reserved