|
Assimp
v4.1. (December 2018)
|
The material appearance of a primitive. More...
Inherits glTF2::Object.
Public Member Functions | |
| Material () | |
| void | Read (Value &obj, Asset &r) |
| void | SetDefaults () |
Public Member Functions inherited from glTF2::Object | |
| virtual bool | IsSpecial () const |
| Objects marked as special are not exported (used to emulate the binary body buffer) More... | |
| virtual | ~Object () |
Public Attributes | |
| float | alphaCutoff |
| std::string | alphaMode |
| bool | doubleSided |
| vec3 | emissiveFactor |
| TextureInfo | emissiveTexture |
| NormalTextureInfo | normalTexture |
| OcclusionTextureInfo | occlusionTexture |
| PbrMetallicRoughness | pbrMetallicRoughness |
| Nullable< PbrSpecularGlossiness > | pbrSpecularGlossiness |
| bool | unlit |
Public Attributes inherited from glTF2::Object | |
| std::string | id |
| The globally unique ID used to reference this object. More... | |
| int | index |
| The index of this object within its property container. More... | |
| std::string | name |
| The user-defined name of this object. More... | |
| int | oIndex |
| The original index of this object defined in the JSON. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from glTF2::Object | |
| static const char * | TranslateId (Asset &, const char *id) |
| Maps special IDs to another ID, where needed. Subclasses may override it (statically) More... | |
The material appearance of a primitive.
|
inline |
|
inline |
| float glTF2::Material::alphaCutoff |
| std::string glTF2::Material::alphaMode |
| bool glTF2::Material::doubleSided |
| vec3 glTF2::Material::emissiveFactor |
| TextureInfo glTF2::Material::emissiveTexture |
| NormalTextureInfo glTF2::Material::normalTexture |
| OcclusionTextureInfo glTF2::Material::occlusionTexture |
| PbrMetallicRoughness glTF2::Material::pbrMetallicRoughness |
| Nullable<PbrSpecularGlossiness> glTF2::Material::pbrSpecularGlossiness |
| bool glTF2::Material::unlit |