# Material

## Fields

std::vector< Texture > | `diffuse_textures`
std::vector< Texture > | `specular_textures`
std::vector< Texture > | `emissive_textures`
std::vector< Texture > | `ambient_textures`
Color | `diffuse_color`
Color | `specular_color`
Color | `emissive_color`
Color | `ambient_color`
MaterialProperties | `properties`
LinePatternKey | `line_pattern_key`

## Functions

| `Material`
| `Material`
bool | `operator==`
bool | `operator!=`

## Detailed Description

class `Material`

  The Material class is used to define a MaterialKey.

  Public Functions

  inline `Material`()
  inline explicit `Material`(Color const &diffuse_color)
  inline bool `operator==`(Material const &that) const
  inline bool `operator!=`(Material const &that) const

  Public Members

  std::vector<Texture> `diffuse_textures`

    This supports 0 or 1 or 2 diffuse textures.

  std::vector<Texture> `specular_textures`
  std::vector<Texture> `emissive_textures`
  std::vector<Texture> `ambient_textures`
  Color `diffuse_color`
  Color `specular_color`
  Color `emissive_color`
  Color `ambient_color`
  MaterialProperties `properties`
  LinePatternKey `line_pattern_key`

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Web or choose a sample question below to start a conversation:

What is HOOPS Visualize Web?
What are the latest release notes for HOOPS Visualize Web?
How do I start evaluating HOOPS Visualize Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...