Face_Material_XXX
Functions
int |
|
int |
|
int |
|
void |
|
float |
|
float |
|
float |
|
float |
|
float |
|
float |
|
float |
Detailed Description
- group Face_Material_XXX
Function Documentation
-
int HIC_Has_Face_Material(HIC_Rendition const *nr)
This function returns true if the face has a material.
- Parameters:
nr – A pointer to a const HIC_Rendition.
- Returns:
A bool.
-
int HIC_Face_Mat_Has_Enviro_Txr(HIC_Rendition const *nr)
This function returns true if the face material has an environment texture.
- Parameters:
nr – A pointer to a const HIC_Rendition.
- Returns:
A bool.
-
int HIC_Face_Mat_Has_Diffuse_Txr(HIC_Rendition const *nr, int layer)
This function returns true if the face material has an diffuse texture on the specified layer.
- Parameters:
nr – A pointer to a const HIC_Rendition and an integer index into the texture list.
- Returns:
A bool.
-
void HIC_Face_Mat_Set_Diffuse_Txr_Tint(HIC_Rendition const *nr, HIC_RGB const *rgb)
This sets the tint on a face material diffuse texture.
- 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.
-
float HIC_Show_Face_Mat_Mirror_Txr_R(HIC_Rendition const *nr)
This function returns the face material mirror red component.
- Parameters:
nr – A pointer to a const HIC_Rendition.
- Returns:
A float.
-
float HIC_Show_Face_Mat_Mirror_Txr_G(HIC_Rendition const *nr)
This function returns the face material mirror green component.
- Parameters:
nr – A pointer to a const HIC_Rendition.
- Returns:
A float.
-
float HIC_Show_Face_Mat_Mirror_Txr_B(HIC_Rendition const *nr)
This function returns the face material mirror green component.
- Parameters:
nr – A pointer to a const HIC_Rendition.
- Returns:
A float.
-
float HIC_Show_Face_Mat_Opacity(HIC_Rendition const *nr)
This function returns the face material opacity.
- Parameters:
nr – A pointer to a const HIC_Rendition.
- Returns:
A float.
-
float HIC_Show_Face_Mat_Trans_R(HIC_Rendition const *nr)
This function sets the face material transmission red component.
- Parameters:
nr – A pointer to a const HIC_Rendition.
r – A float
-
float HIC_Show_Face_Mat_Trans_G(HIC_Rendition const *nr)
This function sets the face material transmission green component.
- Parameters:
nr – A pointer to a const HIC_Rendition.
r – A float
-
float HIC_Show_Face_Mat_Trans_B(HIC_Rendition const *nr)
This function sets the face material transmission blue component.
- Parameters:
nr – A pointer to a const HIC_Rendition.
r – A float