d3d_light_define_point(ind,x,y,z,range,col)
Jump to navigation
Jump to search
Description
Defines the location, range, and color of the given light source.
Parameters
Parameter | Data Type | Description |
---|---|---|
ind | integer | index of the light |
x | double | x coordinate of the light |
y | double | y coordinate |
z | double | z coordinate |
range | double | range of the light |
col | integer | color of the light |
Return Values
void: This function does not return anything.
Example Call
// demonstrates defining a basic point light
d3d_light_define_point(0, 50, 50, 50, 1000, c_yellow);