Searched refs:LightType (Results 1 - 9 of 9) sorted by relevance
/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/ |
H A D | light.h | 27 Light(LightType type, const Vec3& color, float intensity, bool shadow, const Position& position, in Light() 33 void SetLightType(LightType type) in SetLightType() 65 LightType GetLightType() const in GetLightType() 96 LightType type_ = LightType::DIRECTIONAL;
|
H A D | constants.h | 40 enum class LightType : uint8_t { class
|
/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | LightJS.cpp | 24 BaseLight::BaseLight(LightType lt) : NodeImpl(NodeImpl::NodeType::LIGHT), lightType_(lt) {} in BaseLight() 28 NapiApi::Object LightType(exports.GetEnv()); in RegisterEnums() 32 napi_create_uint32(enu.GetEnv(), BaseLight::LightType::x, (&v)); \ in RegisterEnums() 35 DECL_ENUM(LightType, DIRECTIONAL); in RegisterEnums() 36 DECL_ENUM(LightType, POINT); in RegisterEnums() 37 DECL_ENUM(LightType, SPOT); in RegisterEnums() 39 exports.Set("LightType", LightType); in RegisterEnums() 279 : BaseObject<SpotLightJS>(e, i), BaseLight(BaseLight::LightType::SPOT) in SpotLightJS() 309 : BaseObject<PointLightJS>(e, i), BaseLight(BaseLight::LightType in PointLightJS() [all...] |
/foundation/graphic/graphic_3d/kits/js/include/ |
H A D | LightJS.h | 27 enum LightType { enum in BaseLight 43 BaseLight(LightType lt); 67 LightType lightType_;
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_util.cpp | 539 bool GetLightType(const string_view type, LightType& out) in GetLightType() 541 out = LightType::INVALID; in GetLightType() 544 out = LightType::DIRECTIONAL; in GetLightType() 546 out = LightType::POINT; in GetLightType() 548 out = LightType::SPOT; in GetLightType() 550 out = LightType::AMBIENT; in GetLightType() 552 return out != LightType::INVALID; in GetLightType() 555 string_view GetLightType(LightType type) in GetLightType() 558 case LightType::DIRECTIONAL: in GetLightType() 560 case LightType in GetLightType() [all...] |
H A D | gltf2_util.h | 47 bool GetLightType(BASE_NS::string_view type, LightType& out); 48 BASE_NS::string_view GetLightType(LightType type);
|
H A D | gltf2_data_structures.h | 141 enum class LightType : int { INVALID, DIRECTIONAL, POINT, SPOT, AMBIENT }; class in GLTF2::AttributeType::RenderMode 756 LightType type = LightType::DIRECTIONAL;
|
H A D | gltf2_exporter.cpp | 537 exportLight->type = LightType::DIRECTIONAL; in ExportGltfLight() 543 exportLight->type = LightType::DIRECTIONAL; in ExportGltfLight() 546 exportLight->type = LightType::POINT; in ExportGltfLight() 549 exportLight->type = LightType::SPOT; in ExportGltfLight() 2092 if (light->type == LightType::AMBIENT || light->type == LightType::INVALID) { in ExportKHRLights() 2107 if ((light->type == LightType::POINT || light->type == LightType::SPOT) && light->positional.range > 0.f) { in ExportKHRLights() 2110 if (light->type == LightType::SPOT) { in ExportKHRLights()
|
H A D | gltf2_importer.cpp | 449 LightComponent::Type ConvertToCoreLightType(GLTF2::LightType lightType) in ConvertToCoreLightType() 452 case GLTF2::LightType::DIRECTIONAL: in ConvertToCoreLightType() 455 case GLTF2::LightType::POINT: in ConvertToCoreLightType() 458 case GLTF2::LightType::SPOT: in ConvertToCoreLightType() 462 case GLTF2::LightType::INVALID: in ConvertToCoreLightType() 463 case GLTF2::LightType::AMBIENT: in ConvertToCoreLightType() 1914 if (node.light && node.light->type != GLTF2::LightType::INVALID) { in CreateLight()
|
Completed in 15 milliseconds