GRASS 8 Programmer's Manual  8.5.0dev(2025)-c070206eb1
lightdefs Struct Reference

#include <ogsf.h>

Data Fields

float position [4]
 X, Y, Z, (1=local/0=inf) More...
 
float color [3]
 R, G, B. More...
 
float ambient [3]
 R, G, B. More...
 
float emission [3]
 R, G, B. More...
 
float shine
 0. to 128. More...
 

Detailed Description

Definition at line 526 of file ogsf.h.

Field Documentation

◆ ambient

float lightdefs::ambient[3]

R, G, B.

Definition at line 534 of file ogsf.h.

Referenced by Gs_load_3dview(), and Gs_save_3dview().

◆ color

float lightdefs::color[3]

R, G, B.

Definition at line 531 of file ogsf.h.

Referenced by Gs_load_3dview(), and Gs_save_3dview().

◆ emission

float lightdefs::emission[3]

R, G, B.

Definition at line 537 of file ogsf.h.

◆ position

float lightdefs::position[4]

X, Y, Z, (1=local/0=inf)

Definition at line 528 of file ogsf.h.

Referenced by Gs_load_3dview(), and Gs_save_3dview().

◆ shine

float lightdefs::shine

0. to 128.

Definition at line 540 of file ogsf.h.

Referenced by Gs_load_3dview(), and Gs_save_3dview().


The documentation for this struct was generated from the following file: