MaterialProperties

Fields

ImageKeys

environment

float

mirror

float

specular

float

gloss

Functions

MaterialProperties

MaterialProperties

bool

operator==

bool

operator!=

bool

empty

Detailed Description

class MaterialProperties

The MaterialProperties class is used to define a Material or specify the defaults for a View.

Public Functions

inline MaterialProperties()
inline MaterialProperties(float mirror, float specular, float gloss)
inline bool operator==(MaterialProperties const &that) const
inline bool operator!=(MaterialProperties const &that) const
inline bool empty() const

Public Members

ImageKeys environment

Valid counts are {0,1,6} ImageKeys. None if 0 or 1 [spheremap] or 6 cubemap [negative_z positive_z negative_x positive_x negative_y positive_y]

float mirror

Clamp value with 0 minimum and 1 maximum; value -1 is unset.

float specular

Clamp value with 0 minimum and 1 maximum; value -1 is unset.

float gloss

Clamp value with 0 minimum and 1 maximum; value -1 is unset.