Home
last modified time | relevance | path

Searched refs:spot (Results 1 - 6 of 6) sorted by relevance

/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/datastore/
H A Drender_data_store_default_light.cpp86 const uint32_t lightCount = lightCounts_.directional + lightCounts_.spot + lightCounts_.point; in AddLight()
97 lightCounts_.spot++; in AddLight()
136 if (lightCounts_.spot > 0u) { in GetLightingFlags()
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/render/
H A Dintf_render_data_store_default_light.h85 uint32_t spot { 0u };
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_data_structures.h767 } spot; member
H A Dgltf2_exporter.cpp110 // EXPORT_OTHER_OBJECT_NAMES macro to easily spot the missing names and add support if the need arises.
556 exportLight->positional.spot.innerAngle = lightComponent.spotInnerAngle; in ExportGltfLight()
557 exportLight->positional.spot.outerAngle = lightComponent.spotOuterAngle; in ExportGltfLight()
2112 if (light->positional.spot.innerAngle != 0.f) { in ExportKHRLights()
2113 jsonSpotObject["innerConeAngle"] = light->positional.spot.innerAngle; in ExportKHRLights()
2115 if (light->positional.spot.outerAngle != 0.785398163397448f) { in ExportKHRLights()
2116 jsonSpotObject["outerConeAngle"] = light->positional.spot.outerAngle; in ExportKHRLights()
2119 jsonLightObject["spot"] = move(jsonSpotObject); in ExportKHRLights()
H A Dgltf2_loader.cpp1739 bool LightSpot(LoadResult& loadResult, const json::value& jsonData, decltype(KHRLight::positional.spot)& spot)
1742 loadResult, jsonData, "spot", [&spot](LoadResult& loadResult, const json::value& jsonData) -> bool {
1743 if (!ParseOptionalNumber<float>(loadResult, spot.innerAngle, jsonData, "innerConeAngle", 0.f)) {
1748 loadResult, spot.outerAngle, jsonData, "outerConeAngle", 0.785398163397448f)) {
1809 if (!LightSpot(loadResult, jsonData, light->positional.spot)) {
H A Dgltf2_importer.cpp1929 component.spotInnerAngle = node.light->positional.spot.innerAngle; in CreateLight()
1930 component.spotOuterAngle = node.light->positional.spot.outerAngle; in CreateLight()

Completed in 14 milliseconds