Engine-side representation of the Blender light settings exported for an object, including shadow and lightmap behavior.
More...
#include <GltfLoader.h>
|
| | LightProperties (const tinygltf::Value &extension) |
| | Parses lightingProperties from the parent engine extension object.
|
| bool | getCastShadows () const |
| | Checks whether the object casts shadows.
|
| bool | getReceiveShadows () const |
| | Checks whether the object receives shadows.
|
| bool | getHasLightmaps () const |
| | Checks whether the object uses baked lightmaps.
|
Engine-side representation of the Blender light settings exported for an object, including shadow and lightmap behavior.
Definition at line 295 of file GltfLoader.h.
◆ LightProperties()
| Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::LightProperties::LightProperties |
( |
const tinygltf::Value & | extension | ) |
|
|
explicit |
Parses lightingProperties from the parent engine extension object.
- Parameters
-
| extension | Parent extension object that contains lightingProperties. |
◆ getCastShadows()
| bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::LightProperties::getCastShadows |
( |
| ) |
const |
Checks whether the object casts shadows.
- Returns
- Imported castShadows value.
◆ getHasLightmaps()
| bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::LightProperties::getHasLightmaps |
( |
| ) |
const |
Checks whether the object uses baked lightmaps.
- Returns
- Imported hasLightmaps value.
◆ getReceiveShadows()
| bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::LightProperties::getReceiveShadows |
( |
| ) |
const |
Checks whether the object receives shadows.
- Returns
- Imported receiveShadows value.
◆ castShadows
| bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::LightProperties::castShadows |
|
private |
◆ hasLightmaps
| bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::LightProperties::hasLightmaps |
|
private |
◆ lightmapProperties
| std::optional<LightmapProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::LightProperties::lightmapProperties |
|
private |
◆ receiveShadows
| bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::LightProperties::receiveShadows |
|
private |
The documentation for this struct was generated from the following file:
- /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Mesh/GltfLoader.h