Material Object

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files
- Examples

Typedefs | Functions
Material Object
Evas » Evas 3D Extensions

A material object represents properties of surfaces. More...

## Typedefs
typedef Eo | Evas_3D_Material
| Material object handle. More...

## Functions
EOAPI void | evas_3d_material_texture_set (Evas_3D_Material_Attrib attrib, Evas_3D_Texture *texture)
| Set the texture of the given material. More...
void | evas_3d_material::texture_set (Evas_3D_Material_Attrib attrib_, Evas_3D_Texture *texture_) const
| Set the texture of the given material. More...

## Detailed Description

A material object represents properties of surfaces.

Evas 3D defines the properties with 5 material attributes, ambient, diffuse, specular emission and normal. Each attribute have its color value and texture map. Materials are used to determine the color of mesh surfaces.

## Typedef Documentation

Evas_3D_Material

Material object handle.

Since
  1.10

## Function Documentation

EOAPI void evas_3d_material_texture_set | ( | Evas_3D_Material_Attrib | attrib,
|  | Evas_3D_Texture * | texture
| ) |  |

Set the texture of the given material.

You have to enable the desired attribute first.

See also
  evas_3d_material_enable_set()

Parameters

  [in] | attrib | Material attribute ID.
  [in] | texture | No description supplied.

void evas_3d_material::texture_set | ( | Evas_3D_Material_Attrib | attrib_,
|  | Evas_3D_Texture * | texture_
| ) |  | const

Set the texture of the given material.

You have to enable the desired attribute first.

See also
  evas_3d_material_enable_set()

Parameters

  texture |