|
Assimp
v4.1. (December 2018)
|
A light (from KHR_materials_common extension) More...
Inherits glTF::Object.
Public Types | |
| enum | Type { Type_undefined, Type_ambient, Type_directional, Type_point, Type_spot } |
Public Member Functions | |
| Light () | |
| void | Read (Value &obj, Asset &r) |
| void | SetDefaults () |
Public Member Functions inherited from glTF::Object | |
| virtual bool | IsSpecial () const |
| Objects marked as special are not exported (used to emulate the binary body buffer) More... | |
| virtual | ~Object () |
Public Attributes | |
| vec4 | color |
| float | constantAttenuation |
| float | distance |
| float | falloffAngle |
| float | falloffExponent |
| float | linearAttenuation |
| float | quadraticAttenuation |
| Type | type |
Public Attributes inherited from glTF::Object | |
| std::string | id |
| The globally unique ID used to reference this object. More... | |
| std::string | name |
| The user-defined name of this object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from glTF::Object | |
| static const char * | TranslateId (Asset &, const char *id) |
| Maps special IDs to another ID, where needed. Subclasses may override it (statically) More... | |
A light (from KHR_materials_common extension)
| enum glTF::Light::Type |
|
inline |
|
inline |
| vec4 glTF::Light::color |
| float glTF::Light::constantAttenuation |
| float glTF::Light::distance |
| float glTF::Light::falloffAngle |
| float glTF::Light::falloffExponent |
| float glTF::Light::linearAttenuation |
| float glTF::Light::quadraticAttenuation |
| Type glTF::Light::type |