gthreemeshmaterial

gthreemeshmaterial

Functions

Properties

gboolean morph-normals Read / Write
gboolean morph-targets Read / Write
gboolean skinning Read / Write
gboolean wireframe Read / Write
float wireframe-line-width Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GthreeMaterial
        ╰── GthreeMeshMaterial
            ├── GthreeMeshBasicMaterial
            ├── GthreeMeshDepthMaterial
            ├── GthreeMeshLambertMaterial
            ├── GthreeMeshNormalMaterial
            ├── GthreeMeshPhongMaterial
            ├── GthreeMeshStandardMaterial
            ╰── GthreeShaderMaterial

Includes

#include <gthree/gthree.h>

Description

Functions

gthree_mesh_material_set_is_wireframe ()

void
gthree_mesh_material_set_is_wireframe (GthreeMeshMaterial *material,
                                       gboolean is_wireframe);

gthree_mesh_material_get_is_wireframe ()

gboolean
gthree_mesh_material_get_is_wireframe (GthreeMeshMaterial *material);

gthree_mesh_material_set_morph_normals ()

void
gthree_mesh_material_set_morph_normals
                               (GthreeMeshMaterial *material,
                                gboolean value);

gthree_mesh_material_get_morph_normals ()

gboolean
gthree_mesh_material_get_morph_normals
                               (GthreeMeshMaterial *material);

gthree_mesh_material_set_morph_targets ()

void
gthree_mesh_material_set_morph_targets
                               (GthreeMeshMaterial *material,
                                gboolean value);

gthree_mesh_material_get_morph_targets ()

gboolean
gthree_mesh_material_get_morph_targets
                               (GthreeMeshMaterial *material);

gthree_mesh_material_set_skinning ()

void
gthree_mesh_material_set_skinning (GthreeMeshMaterial *material,
                                   gboolean value);

gthree_mesh_material_get_skinning ()

gboolean
gthree_mesh_material_get_skinning (GthreeMeshMaterial *material);

gthree_mesh_material_set_wireframe_line_width ()

void
gthree_mesh_material_set_wireframe_line_width
                               (GthreeMeshMaterial *material,
                                float line_width);

gthree_mesh_material_get_wireframe_line_width ()

float
gthree_mesh_material_get_wireframe_line_width
                               (GthreeMeshMaterial *material);

Types and Values

GthreeMeshMaterial

typedef struct _GthreeMeshMaterial GthreeMeshMaterial;

GthreeMeshMaterialClass

typedef struct {
  GthreeMaterialClass parent_class;
} GthreeMeshMaterialClass;

Property Details

The “morph-normals” property

  “morph-normals”            gboolean

Morph targets.

Owner: GthreeMeshMaterial

Flags: Read / Write

Default value: FALSE


The “morph-targets” property

  “morph-targets”            gboolean

Morph targets.

Owner: GthreeMeshMaterial

Flags: Read / Write

Default value: FALSE


The “skinning” property

  “skinning”                 gboolean

Skinning.

Owner: GthreeMeshMaterial

Flags: Read / Write

Default value: FALSE


The “wireframe” property

  “wireframe”                gboolean

Wireframe.

Owner: GthreeMeshMaterial

Flags: Read / Write

Default value: FALSE


The “wireframe-line-width” property

  “wireframe-line-width”     float

Wireframe line width.

Owner: GthreeMeshMaterial

Flags: Read / Write

Allowed values: [0,100]

Default value: 1