Show_PBR_Material
Functions | |
bool | PShow_Net_PBR_Material (int count, Key const *keys, char *base_color_map, char *normal_map, char *emissive_map, char *metalness_map, int *metalness_map_channel, char *roughness_map, int *roughness_map_channel, char *occlusion_map, int *occlusion_map_channel, RGBA *base_color_factor, float *normal_factor, float *metalness_factor, float *roughness_factor, float *occlusion_factor, float *alpha_factor, char *options) |
bool | Show_PBR_Material (char *base_color_map, char *normal_map, char *emissive_map, char *metalness_map, int *metalness_map_channel, char *roughness_map, int *roughness_map_channel, char *occlusion_map, int *occlusion_map_channel, RGBA *base_color_factor, float *normal_factor, float *metalness_factor, float *roughness_factor, float *occlusion_factor, float *alpha_factor, char *options) |
Detailed Description
Function Documentation
◆ PShow_Net_PBR_Material()
bool PShow_Net_PBR_Material | ( | int | count, |
Key const * | keys, | ||
char * | base_color_map, | ||
char * | normal_map, | ||
char * | emissive_map, | ||
char * | metalness_map, | ||
int * | metalness_map_channel, | ||
char * | roughness_map, | ||
int * | roughness_map_channel, | ||
char * | occlusion_map, | ||
int * | occlusion_map_channel, | ||
RGBA * | base_color_factor, | ||
float * | normal_factor, | ||
float * | metalness_factor, | ||
float * | roughness_factor, | ||
float * | occlusion_factor, | ||
float * | alpha_factor, | ||
char * | options | ||
) |
- Parameters
-
count - number of keys in keys array keys - An array of HC_KEYs delineating a path of segments base_color_map - Base color map normal_map - Normal map emissive_map - Emissive map metalness_map - Metalness map metalness_map_channel - Metalness map channel roughness_map - Roughness map roughness_map_channel - Roughness map channel occlusion_map - Occlusion map occlusion_map_channel - Occlusion map channel base_color_factor - Base color factor normal_factor - Normal factor metalness_factor - Metalness factor roughness_factor - Roughness factor occlusion_factor - Occlusion factor alpha_factor - Alpha factor options - The options set on the material
DETAILS
Shows the net physically-based rendering material on a segment with the attributes specified, according to the key path.
- See also
- Set_PBR_Material, Show_PBR_Material
◆ Show_PBR_Material()
bool Show_PBR_Material | ( | char * | base_color_map, |
char * | normal_map, | ||
char * | emissive_map, | ||
char * | metalness_map, | ||
int * | metalness_map_channel, | ||
char * | roughness_map, | ||
int * | roughness_map_channel, | ||
char * | occlusion_map, | ||
int * | occlusion_map_channel, | ||
RGBA * | base_color_factor, | ||
float * | normal_factor, | ||
float * | metalness_factor, | ||
float * | roughness_factor, | ||
float * | occlusion_factor, | ||
float * | alpha_factor, | ||
char * | options | ||
) |
- Parameters
-
base_color_map - Base color map normal_map - Normal map emissive_map - Emissive map metalness_map - Metalness map metalness_map_channel - Metalness map channel roughness_map - Roughness map roughness_map_channel - Roughness map channel occlusion_map - Occlusion map occlusion_map_channel - Occlusion map channel base_color_factor - Base color scale factor normal_factor - Normal scale factor metalness_factor - Metalness scale factor roughness_factor - Roughness scale factor occlusion_factor - Occlusion scale factor alpha_factor - Alpha scale factor options - The options set on the material
DETAILS
Shows a physically-based rendering material on a segment with the attributes specified.
- See also
- Set_PBR_Material, PShow_Net_PBR_Material