Face_Material_XXX
Functions | |
HC_EXTERNAL HIC_API bool | HIC_Face_Mat_Has_Diffuse_Txr (HIC_Rendition const *nr, int layer) |
HC_EXTERNAL HIC_API bool | HIC_Face_Mat_Has_Enviro_Txr (HIC_Rendition const *nr) |
HC_EXTERNAL HIC_API void | HIC_Face_Mat_Set_Diffuse_Txr_Tint (HIC_Rendition const *nr, HIC_RGB const *rgb) |
HC_EXTERNAL HIC_API bool | HIC_Has_Face_Material (HIC_Rendition const *nr) |
HC_EXTERNAL HIC_API float | HIC_Show_Face_Mat_Mirror_Txr_B (HIC_Rendition const *nr) |
HC_EXTERNAL HIC_API float | HIC_Show_Face_Mat_Mirror_Txr_G (HIC_Rendition const *nr) |
HC_EXTERNAL HIC_API float | HIC_Show_Face_Mat_Mirror_Txr_R (HIC_Rendition const *nr) |
HC_EXTERNAL HIC_API float | HIC_Show_Face_Mat_Opacity (HIC_Rendition const *nr) |
HC_EXTERNAL HIC_API float | HIC_Show_Face_Mat_Trans_B (HIC_Rendition const *nr) |
HC_EXTERNAL HIC_API float | HIC_Show_Face_Mat_Trans_G (HIC_Rendition const *nr) |
HC_EXTERNAL HIC_API float | HIC_Show_Face_Mat_Trans_R (HIC_Rendition const *nr) |
Detailed Description
Function Documentation
◆ HIC_Face_Mat_Has_Diffuse_Txr()
HC_EXTERNAL HIC_API bool HIC_Face_Mat_Has_Diffuse_Txr | ( | HIC_Rendition const * | nr, |
int | layer | ||
) |
- Parameters
-
nr A pointer to a const HIC_Rendition and an integer index into the texture list.
- Returns
- A bool.
This function returns true if the face material has an diffuse texture on the specified layer.
◆ HIC_Face_Mat_Has_Enviro_Txr()
HC_EXTERNAL HIC_API bool HIC_Face_Mat_Has_Enviro_Txr | ( | HIC_Rendition const * | nr | ) |
- Parameters
-
nr A pointer to a const HIC_Rendition.
- Returns
- A bool.
This function returns true if the face material has an environment texture.
◆ HIC_Face_Mat_Set_Diffuse_Txr_Tint()
HC_EXTERNAL HIC_API void HIC_Face_Mat_Set_Diffuse_Txr_Tint | ( | HIC_Rendition const * | nr, |
HIC_RGB const * | rgb | ||
) |
- Parameters
-
nr A pointer to a const HIC_Rendition rgb A pointer to a HIC_RGB, a structure of three floats, each between zero and one.
This sets the tint on a face material diffuse texture.
◆ HIC_Has_Face_Material()
HC_EXTERNAL HIC_API bool HIC_Has_Face_Material | ( | HIC_Rendition const * | nr | ) |
- Parameters
-
nr A pointer to a const HIC_Rendition.
- Returns
- A bool.
This function returns true if the face has a material.
◆ HIC_Show_Face_Mat_Mirror_Txr_B()
HC_EXTERNAL HIC_API float HIC_Show_Face_Mat_Mirror_Txr_B | ( | HIC_Rendition const * | nr | ) |
- Parameters
-
nr A pointer to a const HIC_Rendition.
- Returns
- A float.
This function returns the face material mirror green component.
◆ HIC_Show_Face_Mat_Mirror_Txr_G()
HC_EXTERNAL HIC_API float HIC_Show_Face_Mat_Mirror_Txr_G | ( | HIC_Rendition const * | nr | ) |
- Parameters
-
nr A pointer to a const HIC_Rendition.
- Returns
- A float.
This function returns the face material mirror green component.
◆ HIC_Show_Face_Mat_Mirror_Txr_R()
HC_EXTERNAL HIC_API float HIC_Show_Face_Mat_Mirror_Txr_R | ( | HIC_Rendition const * | nr | ) |
- Parameters
-
nr A pointer to a const HIC_Rendition.
- Returns
- A float.
This function returns the face material mirror red component.
◆ HIC_Show_Face_Mat_Opacity()
HC_EXTERNAL HIC_API float HIC_Show_Face_Mat_Opacity | ( | HIC_Rendition const * | nr | ) |
- Parameters
-
nr A pointer to a const HIC_Rendition.
- Returns
- A float.
This function returns the face material opacity.
◆ HIC_Show_Face_Mat_Trans_B()
HC_EXTERNAL HIC_API float HIC_Show_Face_Mat_Trans_B | ( | HIC_Rendition const * | nr | ) |
- Parameters
-
nr A pointer to a const HIC_Rendition. r A float
This function sets the face material transmission blue component.
◆ HIC_Show_Face_Mat_Trans_G()
HC_EXTERNAL HIC_API float HIC_Show_Face_Mat_Trans_G | ( | HIC_Rendition const * | nr | ) |
- Parameters
-
nr A pointer to a const HIC_Rendition. r A float
This function sets the face material transmission green component.
◆ HIC_Show_Face_Mat_Trans_R()
HC_EXTERNAL HIC_API float HIC_Show_Face_Mat_Trans_R | ( | HIC_Rendition const * | nr | ) |
- Parameters
-
nr A pointer to a const HIC_Rendition. r A float
This function sets the face material transmission red component.