Files
WickedEngine/Editor/ObjectWindow.h
T
Turánszki János b375b09561 physics: cylinder shape, local offset;
added per-instance alpha test;
grass disable cast shadow fix;
editor: hierarchy remove will use proper detaching;
2024-06-17 08:27:01 +02:00

45 lines
1.2 KiB
C++

#pragma once
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::CheckBox foregroundCheckBox;
wi::gui::CheckBox notVisibleInMainCameraCheckBox;
wi::gui::CheckBox notVisibleInReflectionsCheckBox;
wi::gui::Slider ditherSlider;
wi::gui::Slider alphaRefSlider;
wi::gui::Slider cascadeMaskSlider;
wi::gui::Slider lodSlider;
wi::gui::Slider drawdistanceSlider;
wi::gui::Slider sortPrioritySlider;
wi::gui::ComboBox colorComboBox;
wi::gui::ColorPicker colorPicker;
wi::gui::Slider lightmapResolutionSlider;
wi::gui::CheckBox lightmapBlockCompressionCheckBox;
wi::gui::ComboBox lightmapSourceUVSetComboBox;
wi::gui::Button generateLightmapButton;
wi::gui::Button stopLightmapGenButton;
wi::gui::Button clearLightmapButton;
wi::gui::Button vertexAOButton;
bool deleteAOMode = false;
wi::gui::Slider vertexAORayCountSlider;
wi::gui::Slider vertexAORayLengthSlider;
void ResizeLayout() override;
};