eff37576b5
* improving component window layouts * sound window update * transform window update * editor top gui animation; delete callback for entity tree * layer window update * other layout changes * grid helper ini * don't allow negative or zero local scale * version bump * camera fps config check if exists
37 lines
818 B
C++
37 lines
818 B
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
class EditorComponent;
|
|
|
|
class MaterialWindow;
|
|
|
|
class HairParticleWindow : public wi::gui::Window
|
|
{
|
|
public:
|
|
void Create(EditorComponent* editor);
|
|
|
|
EditorComponent* editor = nullptr;
|
|
wi::ecs::Entity entity;
|
|
void SetEntity(wi::ecs::Entity entity);
|
|
|
|
void UpdateData();
|
|
|
|
wi::HairParticleSystem* GetHair();
|
|
|
|
wi::gui::ComboBox meshComboBox;
|
|
wi::gui::Slider lengthSlider;
|
|
wi::gui::Slider stiffnessSlider;
|
|
wi::gui::Slider randomnessSlider;
|
|
wi::gui::Slider countSlider;
|
|
wi::gui::Slider segmentcountSlider;
|
|
wi::gui::Slider randomSeedSlider;
|
|
wi::gui::Slider viewDistanceSlider;
|
|
wi::gui::TextInputField framesXInput;
|
|
wi::gui::TextInputField framesYInput;
|
|
wi::gui::TextInputField frameCountInput;
|
|
wi::gui::TextInputField frameStartInput;
|
|
|
|
void ResizeLayout() override;
|
|
};
|
|
|