| Top |
| GthreeTexture * | alpha-map | Read / Write |
| GthreeTexture * | ao-map | Read / Write |
| float | ao-map-intensity | Read / Write |
| GthreeTexture * | bump-map | Read / Write |
| float | bump-scale | Read / Write |
| GrapheneVec3 * | color | Read / Write |
| float | displacement-bias | Read / Write |
| GthreeTexture * | displacement-map | Read / Write |
| float | displacement-scale | Read / Write |
| GrapheneVec3 * | emissive-color | Read / Write |
| float | emissive-intensity | Read / Write |
| GthreeTexture * | emissive-map | Read / Write |
| GthreeTexture * | env-map | Read / Write |
| float | env-map-intensity | Read / Write |
| GthreeTexture * | light-map | Read / Write |
| float | light-map-intensity | Read / Write |
| GthreeTexture * | map | Read / Write |
| float | metalness | Read / Write |
| GthreeTexture * | metalness-map | Read / Write |
| GthreeTexture * | normal-map | Read / Write |
| GthreeNormalMapType | normal-map-type | Read / Write |
| GrapheneVec2 * | normal-scale | Read / Write |
| float | refraction-ratio | Read / Write |
| float | roughness | Read / Write |
| GthreeTexture * | roughness-map | Read / Write |
GEnum ╰── GthreeNormalMapType GObject ╰── GthreeMaterial ╰── GthreeMeshMaterial ╰── GthreeMeshStandardMaterial
GthreeMeshStandardMaterial * gthree_mesh_standard_material_new ();
void gthree_mesh_standard_material_set_alpha_map (GthreeMeshStandardMaterial *standard,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_standard_material_get_alpha_map
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_ao_map (GthreeMeshStandardMaterial *standard,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_standard_material_get_ao_map
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_ao_map_intensity (GthreeMeshStandardMaterial *standard,float value);
float
gthree_mesh_standard_material_get_ao_map_intensity
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_bump_map (GthreeMeshStandardMaterial *standard,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_standard_material_get_bump_map
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_bump_scale (GthreeMeshStandardMaterial *standard,float value);
float
gthree_mesh_standard_material_get_bump_scale
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_color (GthreeMeshStandardMaterial *standard,const graphene_vec3_t *color);
const graphene_vec3_t *
gthree_mesh_standard_material_get_color
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_displacement_bias (GthreeMeshStandardMaterial *standard,float value);
float
gthree_mesh_standard_material_get_displacement_bias
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_displacement_map (GthreeMeshStandardMaterial *standard,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_standard_material_get_displacement_map
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_displacement_scale (GthreeMeshStandardMaterial *standard,float value);
float
gthree_mesh_standard_material_get_displacement_scale
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_emissive_color (GthreeMeshStandardMaterial *standard,const graphene_vec3_t *color);
const graphene_vec3_t *
gthree_mesh_standard_material_get_emissive_color
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_emissive_intensity (GthreeMeshStandardMaterial *standard,float value);
float
gthree_mesh_standard_material_get_emissive_intensity
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_emissive_map (GthreeMeshStandardMaterial *standard,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_standard_material_get_emissive_map
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_env_map (GthreeMeshStandardMaterial *standard,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_standard_material_get_env_map
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_env_map_intensity (GthreeMeshStandardMaterial *standard,float value);
float
gthree_mesh_standard_material_get_env_map_intensity
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_light_map (GthreeMeshStandardMaterial *standard,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_standard_material_get_light_map
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_light_map_intensity (GthreeMeshStandardMaterial *standard,float value);
float
gthree_mesh_standard_material_get_light_map_intensity
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_map (GthreeMeshStandardMaterial *standard,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_standard_material_get_map (GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_metalness (GthreeMeshStandardMaterial *standard,float value);
float
gthree_mesh_standard_material_get_metalness
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_metalness_map (GthreeMeshStandardMaterial *standard,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_standard_material_get_metalness_map
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_normal_map (GthreeMeshStandardMaterial *standard,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_standard_material_get_normal_map
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_normal_map_scale (GthreeMeshStandardMaterial *standard,graphene_vec2_t *scale);
const graphene_vec2_t *
gthree_mesh_standard_material_get_normal_map_scale
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_normal_map_type (GthreeMeshStandardMaterial *standard,GthreeNormalMapType type);
GthreeNormalMapType
gthree_mesh_standard_material_get_normal_map_type
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_refraction_ratio (GthreeMeshStandardMaterial *standard,float ratio);
float
gthree_mesh_standard_material_get_refraction_ratio
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_roughness (GthreeMeshStandardMaterial *standard,float ratio);
float
gthree_mesh_standard_material_get_roughness
(GthreeMeshStandardMaterial *standard);
void gthree_mesh_standard_material_set_roughness_map (GthreeMeshStandardMaterial *standard,GthreeTexture *texture);
GthreeTexture *
gthree_mesh_standard_material_get_roughness_map
(GthreeMeshStandardMaterial *standard);
typedef struct {
GthreeMeshMaterialClass parent_class;
} GthreeMeshStandardMaterialClass;
“alpha-map” property“alpha-map” GthreeTexture *
Alpha map.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
“ao-map” property“ao-map” GthreeTexture *
Ao map.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
“ao-map-intensity” property “ao-map-intensity” float
Ao map intensity.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
Allowed values: [0,10]
Default value: 1
“bump-map” property“bump-map” GthreeTexture *
Bump map.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
“bump-scale” property “bump-scale” float
Bump scale.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
Allowed values: [0,10]
Default value: 1
“color” property “color” GrapheneVec3 *
Color.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
“displacement-bias” property “displacement-bias” float
Displacement bias.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
Allowed values: [0,10]
Default value: 1
“displacement-map” property“displacement-map” GthreeTexture *
Displacement map.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
“displacement-scale” property “displacement-scale” float
Displacement scale.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
Allowed values: [0,10]
Default value: 1
“emissive-color” property “emissive-color” GrapheneVec3 *
Emissive.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
“emissive-intensity” property “emissive-intensity” float
Emissive intensity.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
Allowed values: [0,10]
Default value: 1
“emissive-map” property“emissive-map” GthreeTexture *
Emissive map.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
“env-map” property“env-map” GthreeTexture *
Env Map.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
“env-map-intensity” property “env-map-intensity” float
Env map intensity.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
Allowed values: [0,10]
Default value: 1
“light-map” property“light-map” GthreeTexture *
Light map.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
“light-map-intensity” property “light-map-intensity” float
Light map intensity.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
Allowed values: [0,10]
Default value: 1
“metalness” property “metalness” float
Metalness.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
Allowed values: [0,1]
Default value: 1
“metalness-map” property“metalness-map” GthreeTexture *
Metalness map.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
“normal-map” property“normal-map” GthreeTexture *
Normal map.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
“normal-map-type” property“normal-map-type” GthreeNormalMapType
Normal map type.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
Default value: GTHREE_NORMAL_MAP_TYPE_TANGENT_SPACE
“normal-scale” property “normal-scale” GrapheneVec2 *
Normal scale.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
“refraction-ratio” property “refraction-ratio” float
Refraction Ratio.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.98
“roughness” property “roughness” float
Roughness.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write
Allowed values: [0,1]
Default value: 1
“roughness-map” property“roughness-map” GthreeTexture *
Roughness map.
Owner: GthreeMeshStandardMaterial
Flags: Read / Write