| Top |
| GrapheneVec3 * | color | Read / Write |
| GthreeOperation | combine | Read / Write |
| GrapheneVec3 * | emissive-color | Read / Write |
| GthreeTexture * | env-map | Read / Write |
| GthreeTexture * | map | Read / Write |
| float | reflectivity | Read / Write |
| float | refraction-ratio | Read / Write |
GthreeMeshLambertMaterial * gthree_mesh_lambert_material_new ();
void gthree_mesh_lambert_material_set_color (GthreeMeshLambertMaterial *lambert,const graphene_vec3_t *color);
const graphene_vec3_t *
gthree_mesh_lambert_material_get_color
(GthreeMeshLambertMaterial *lambert);
void gthree_mesh_lambert_material_set_combine (GthreeMeshLambertMaterial *lambert,GthreeOperation combine);
GthreeOperation
gthree_mesh_lambert_material_get_combine
(GthreeMeshLambertMaterial *lambert);
void gthree_mesh_lambert_material_set_emissive_color (GthreeMeshLambertMaterial *lambert,const graphene_vec3_t *color);
const graphene_vec3_t *
gthree_mesh_lambert_material_get_emissive_color
(GthreeMeshLambertMaterial *lambert);
void gthree_mesh_lambert_material_set_env_map (GthreeMeshLambertMaterial *lambert,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_lambert_material_get_env_map
(GthreeMeshLambertMaterial *lambert);
void gthree_mesh_lambert_material_set_map (GthreeMeshLambertMaterial *lambert,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_lambert_material_get_map (GthreeMeshLambertMaterial *lambert);
void gthree_mesh_lambert_material_set_reflectivity (GthreeMeshLambertMaterial *lambert,float reflectivity);
float
gthree_mesh_lambert_material_get_reflectivity
(GthreeMeshLambertMaterial *lambert);
void gthree_mesh_lambert_material_set_refraction_ratio (GthreeMeshLambertMaterial *lambert,float ratio);
float
gthree_mesh_lambert_material_get_refraction_ratio
(GthreeMeshLambertMaterial *lambert);
“color” property “color” GrapheneVec3 *
Color.
Owner: GthreeMeshLambertMaterial
Flags: Read / Write
“combine” property“combine” GthreeOperation
Combine.
Owner: GthreeMeshLambertMaterial
Flags: Read / Write
Default value: GTHREE_OPERATION_MULTIPLY
“emissive-color” property “emissive-color” GrapheneVec3 *
Emissive.
Owner: GthreeMeshLambertMaterial
Flags: Read / Write
“env-map” property“env-map” GthreeTexture *
Env Map.
Owner: GthreeMeshLambertMaterial
Flags: Read / Write
“reflectivity” property “reflectivity” float
Reflectivity.
Owner: GthreeMeshLambertMaterial
Flags: Read / Write
Allowed values: [0,1]
Default value: 1