gthreepointsmaterial

gthreepointsmaterial

Functions

Properties

GrapheneVec3 * color Read / Write
GthreeTexture * map Read / Write
float size Read / Write
gboolean size-attenuation Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GthreeMaterial
        ╰── GthreePointsMaterial

Includes

#include <gthree/gthree.h>

Description

Functions

gthree_points_material_new ()

GthreePointsMaterial *
gthree_points_material_new (void);

gthree_points_material_set_color ()

void
gthree_points_material_set_color (GthreePointsMaterial *points_material,
                                  const graphene_vec3_t *color);

gthree_points_material_get_color ()

const graphene_vec3_t *
gthree_points_material_get_color (GthreePointsMaterial *points_material);

gthree_points_material_set_map ()

void
gthree_points_material_set_map (GthreePointsMaterial *points_material,
                                GthreeTexture *texture);

gthree_points_material_get_map ()

GthreeTexture *
gthree_points_material_get_map (GthreePointsMaterial *points_material);

gthree_points_material_set_size ()

void
gthree_points_material_set_size (GthreePointsMaterial *points_material,
                                 float size);

gthree_points_material_get_size ()

float
gthree_points_material_get_size (GthreePointsMaterial *points_material);

gthree_points_material_set_size_attenuation ()

void
gthree_points_material_set_size_attenuation
                               (GthreePointsMaterial *points_material,
                                gboolean size_attenuation);

gthree_points_material_get_size_attenuation ()

gboolean
gthree_points_material_get_size_attenuation
                               (GthreePointsMaterial *points_material);

Types and Values

GthreePointsMaterial

typedef struct _GthreePointsMaterial GthreePointsMaterial;

GthreePointsMaterialClass

typedef struct {
  GthreeMaterialClass parent_class;
} GthreePointsMaterialClass;

Property Details

The “color” property

  “color”                    GrapheneVec3 *

Color.

Owner: GthreePointsMaterial

Flags: Read / Write


The “map” property

  “map”                      GthreeTexture *

Map.

Owner: GthreePointsMaterial

Flags: Read / Write


The “size” property

  “size”                     float

Size.

Owner: GthreePointsMaterial

Flags: Read / Write

Default value: 0


The “size-attenuation” property

  “size-attenuation”         gboolean

Size attenuation.

Owner: GthreePointsMaterial

Flags: Read / Write

Default value: FALSE