| Top |
| GrapheneVec3 * | color | Read / Write |
| GthreeOperation | combine | Read / Write |
| GrapheneVec3 * | emissive-color | Read / Write |
| GthreeTexture * | env-map | Read / Write |
| gboolean | flat-shading | Read / Write |
| GthreeTexture * | map | Read / Write |
| GthreeTexture * | normal-map | Read / Write |
| GthreeNormalMapType | normal-map-type | Read / Write |
| GrapheneVec2 * | normal-scale | Read / Write |
| float | reflectivity | Read / Write |
| float | refraction-ratio | Read / Write |
| float | shininess | Read / Write |
| GrapheneVec3 * | specular-color | Read / Write |
| GthreeTexture * | specular-map | Read / Write |
void gthree_mesh_phong_material_set_color (GthreeMeshPhongMaterial *phong,const graphene_vec3_t *color);
const graphene_vec3_t *
gthree_mesh_phong_material_get_color (GthreeMeshPhongMaterial *phong);
void gthree_mesh_phong_material_set_combine (GthreeMeshPhongMaterial *phong,GthreeOperation combine);
GthreeOperation
gthree_mesh_phong_material_get_combine
(GthreeMeshPhongMaterial *phong);
void gthree_mesh_phong_material_set_emissive_color (GthreeMeshPhongMaterial *phong,const graphene_vec3_t *color);
const graphene_vec3_t *
gthree_mesh_phong_material_get_emissive_color
(GthreeMeshPhongMaterial *phong);
void gthree_mesh_phong_material_set_env_map (GthreeMeshPhongMaterial *phong,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_phong_material_get_env_map
(GthreeMeshPhongMaterial *phong);
void gthree_mesh_phong_material_set_flat_shading (GthreeMeshPhongMaterial *phong,gboolean flat_shading);
gboolean
gthree_mesh_phong_material_get_flat_shading
(GthreeMeshPhongMaterial *phong);
void gthree_mesh_phong_material_set_map (GthreeMeshPhongMaterial *phong,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_phong_material_get_map (GthreeMeshPhongMaterial *phong);
void gthree_mesh_phong_material_set_reflectivity (GthreeMeshPhongMaterial *phong,float reflectivity);
float
gthree_mesh_phong_material_get_reflectivity
(GthreeMeshPhongMaterial *phong);
void gthree_mesh_phong_material_set_refraction_ratio (GthreeMeshPhongMaterial *phong,float ratio);
float
gthree_mesh_phong_material_get_refraction_ratio
(GthreeMeshPhongMaterial *phong);
void gthree_mesh_phong_material_set_shininess (GthreeMeshPhongMaterial *phong,float shininess);
float
gthree_mesh_phong_material_get_shininess
(GthreeMeshPhongMaterial *phong);
void gthree_mesh_phong_material_set_specular_color (GthreeMeshPhongMaterial *phong,const graphene_vec3_t *color);
const graphene_vec3_t *
gthree_mesh_phong_material_get_specular_color
(GthreeMeshPhongMaterial *phong);
“color” property “color” GrapheneVec3 *
Color.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write
“combine” property“combine” GthreeOperation
Combine.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write
Default value: GTHREE_OPERATION_MULTIPLY
“emissive-color” property “emissive-color” GrapheneVec3 *
Emissive.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write
“env-map” property“env-map” GthreeTexture *
Env Map.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write
“flat-shading” property “flat-shading” gboolean
Flat shading.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write
Default value: FALSE
“normal-map” property“normal-map” GthreeTexture *
Normal map.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write
“normal-map-type” property“normal-map-type” GthreeNormalMapType
Normal map type.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write
Default value: GTHREE_NORMAL_MAP_TYPE_TANGENT_SPACE
“normal-scale” property “normal-scale” GrapheneVec2 *
Normal scale.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write
“reflectivity” property “reflectivity” float
Reflectivity.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write
Allowed values: [0,1]
Default value: 1
“refraction-ratio” property “refraction-ratio” float
Refraction Ratio.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.98
“shininess” property “shininess” float
Shininess.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write
Allowed values: [0,1000]
Default value: 30
“specular-color” property “specular-color” GrapheneVec3 *
Specular color.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write
“specular-map” property“specular-map” GthreeTexture *
Specular Map.
Owner: GthreeMeshPhongMaterial
Flags: Read / Write