36 const std::string& resource_path,
37 std::function<
void(
const char*)> on_load_ibl);
45 std::function<void(
const char*)> on_load_ibl_;
47 std::shared_ptr<gui::Combobox> lighting_profile_;
48 std::shared_ptr<gui::Checkbox> show_axes_;
49 std::shared_ptr<gui::Checkbox> show_ground_;
50 std::shared_ptr<gui::ColorEdit> bg_color_;
51 std::shared_ptr<gui::Checkbox> show_skybox_;
53 std::shared_ptr<gui::CollapsableVert> advanced_;
54 std::shared_ptr<gui::Checkbox> ibl_enabled_;
55 std::shared_ptr<gui::Checkbox> sun_enabled_;
56 std::shared_ptr<gui::Combobox> ibls_;
57 std::shared_ptr<gui::Slider> ibl_intensity_;
58 std::shared_ptr<gui::Slider> sun_intensity_;
59 std::shared_ptr<gui::VectorEdit> sun_dir_;
60 std::shared_ptr<gui::Checkbox> sun_follows_camera_;
61 std::shared_ptr<gui::ColorEdit> sun_color_;
63 std::shared_ptr<gui::Combobox> material_type_;
64 std::shared_ptr<gui::Combobox> prefab_material_;
65 std::shared_ptr<gui::ColorEdit> material_color_;
66 std::shared_ptr<gui::Button> reset_material_color_;
67 std::shared_ptr<gui::Slider> point_size_;
68 std::shared_ptr<gui::Button> generate_normals_;
69 std::shared_ptr<gui::Checkbox> basic_mode_;
70 std::shared_ptr<gui::Checkbox> wireframe_mode_;
72 bool sun_follows_cam_was_on_ =
true;
73 void UpdateUIForBasicMode(
bool enable);