d3d_start

Tells GameMaker: Studio that all further drawing is to be done in 3D mode.

Syntax:

d3d_start()


Returns: Real


Description

With this function you can tell GameMaker: Studio that all further drawing should be done in 3D mode. This function can be called in any event, but will affect all drawing done after, so if your game is not completely done in 3D you may need to switch it off using d3d_end to draw certain parts (and then use this function again to switch 3D mode back on).

Starting 3D mode will result in the following changes:


Example:

d3d_start();

This code has been placed in the create event of an instance to tell GameMaker: Studio that all further drawing should be done in 3D mode.


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