Files
WickedEngine/Editor/ObjectWindow.h
T
Turánszki János 38993813c1 Intersection filtering updates (#565)
- refactored RENDERTYPE enum to FILTER
- added FILTER_NAVIGATION_MESH type - allows tagging meshes for navigation and filtering them in scene intersection functions
- added FILTER_COLLIDER type - allows processing colliders in scene intersection functions
- added simpler interface to get scene intersections: new Scene::Intersects() function overloads
2022-09-13 19:55:30 +02:00

36 lines
850 B
C++

#pragma once
#include "WickedEngine.h"
class EditorComponent;
class ObjectWindow : public wi::gui::Window
{
public:
void Create(EditorComponent* editor);
EditorComponent* editor = nullptr;
wi::ecs::Entity entity;
void SetEntity(wi::ecs::Entity entity);
wi::gui::ComboBox meshCombo;
wi::gui::CheckBox renderableCheckBox;
wi::gui::CheckBox shadowCheckBox;
wi::gui::CheckBox navmeshCheckBox;
wi::gui::Slider ditherSlider;
wi::gui::Slider cascadeMaskSlider;
wi::gui::Slider lodSlider;
wi::gui::Slider drawdistanceSlider;
wi::gui::ComboBox colorComboBox;
wi::gui::ColorPicker colorPicker;
wi::gui::Slider lightmapResolutionSlider;
wi::gui::ComboBox lightmapSourceUVSetComboBox;
wi::gui::Button generateLightmapButton;
wi::gui::Button stopLightmapGenButton;
wi::gui::Button clearLightmapButton;
void ResizeLayout() override;
};