|
Assimp
v4.1. (December 2018)
|
A light (from KHR_lights_punctual extension) More...
Inherits glTF2::Object.
Public Types | |
| enum | Type { Directional, Point, Spot } |
Public Member Functions | |
| Light () | |
| void | Read (Value &obj, Asset &r) |
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 | |
| vec3 | color |
| float | innerConeAngle |
| float | intensity |
| float | outerConeAngle |
| Nullable< float > | range |
| Type | type |
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... | |
A light (from KHR_lights_punctual extension)
| enum glTF2::Light::Type |
|
inline |
| vec3 glTF2::Light::color |
| float glTF2::Light::innerConeAngle |
| float glTF2::Light::intensity |
| float glTF2::Light::outerConeAngle |
| Type glTF2::Light::type |