gthreedirectionallight

gthreedirectionallight

Functions

Properties

GthreeObject * target Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GthreeObject
        ╰── GthreeLight
            ╰── GthreeDirectionalLight

Includes

#include <gthree/gthree.h>

Description

Functions

gthree_directional_light_new ()

GthreeDirectionalLight *
gthree_directional_light_new (const graphene_vec3_t *color,
                              float intensity);

gthree_directional_light_set_target ()

void
gthree_directional_light_set_target (GthreeDirectionalLight *directional,
                                     GthreeObject *target);

gthree_directional_light_get_target ()

GthreeObject *
gthree_directional_light_get_target (GthreeDirectionalLight *directional);

Types and Values

GthreeDirectionalLight

typedef struct _GthreeDirectionalLight GthreeDirectionalLight;

GthreeDirectionalLightClass

typedef struct {
  GthreeLightClass parent_class;
} GthreeDirectionalLightClass;

Property Details

The “target” property

  “target”                   GthreeObject *

Target.

Owner: GthreeDirectionalLight

Flags: Read / Write