Face_Material_XXX

Functions

int

HIC_Has_Face_Material

int

HIC_Face_Mat_Has_Enviro_Txr

int

HIC_Face_Mat_Has_Diffuse_Txr

void

HIC_Face_Mat_Set_Diffuse_Txr_Tint

float

HIC_Show_Face_Mat_Mirror_Txr_R

float

HIC_Show_Face_Mat_Mirror_Txr_G

float

HIC_Show_Face_Mat_Mirror_Txr_B

float

HIC_Show_Face_Mat_Opacity

float

HIC_Show_Face_Mat_Trans_R

float

HIC_Show_Face_Mat_Trans_G

float

HIC_Show_Face_Mat_Trans_B

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