Includes
#include <gthree/gthree.h>
Functions
gthree_light_new ()
GthreeLight *
gthree_light_new (void
);
gthree_light_set_intensity ()
void
gthree_light_set_intensity (GthreeLight *light
,
float intensity
);
gthree_light_get_intensity ()
float
gthree_light_get_intensity (GthreeLight *light
);
Types and Values
GthreeLight
typedef struct _GthreeLight GthreeLight;
GthreeLightClass
typedef struct {
GthreeObjectClass parent_class;
void (*setup) (GthreeLight *light,
GthreeCamera *camera,
GthreeLightSetup *light_setup);
gpointer padding[8];
} GthreeLightClass;
GthreeLightSetup
typedef struct _GthreeLightSetup GthreeLightSetup;
Property Details
The “color”
property
“color” GrapheneVec3 *
Light color.
Owner: GthreeLight
Flags: Read / Write
The “intensity”
property
“intensity” float
Intensity.
Owner: GthreeLight
Flags: Read / Write
Allowed values: >= 0
Default value: 1