d3d_light_define_ambient(color)

From ENIGMA

Jump to: navigation, search

Description

Sets the color of the ambient lighting when rendering with all subsequent draw calls. Basically when the objects dont have any lighting by default ENIGMA & Game Maker.

Parameters

Parameter Description
color color to set the ambient lighting to

Return Values

void: This function does not return anything.

Example Call

// demonstrates setting the ambient lighting color to red
d3d_light_define_ambient(c_red);
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox