Files
WickedEngine/Editor/AnimationWindow.h
T
Turánszki János 03fe5dcce8 Physics updates, lua bindings (#554)
* physics updates, lua bindings

* velocity setters

* fix softbody gravity

* gui things

* colliders cpu and gpu separation

* terrain prop check for missing assets

* lua internal put in function
2022-09-04 16:34:50 +02:00

36 lines
757 B
C++

#pragma once
#include "WickedEngine.h"
class EditorComponent;
class AnimationWindow : public wi::gui::Window
{
public:
void Create(EditorComponent* editor);
EditorComponent* editor = nullptr;
wi::ecs::Entity entity = wi::ecs::INVALID_ENTITY;
void SetEntity(wi::ecs::Entity entity);
wi::gui::Label infoLabel;
wi::gui::ComboBox modeComboBox;
wi::gui::CheckBox loopedCheckBox;
wi::gui::Button playButton;
wi::gui::Button stopButton;
wi::gui::Slider timerSlider;
wi::gui::Slider amountSlider;
wi::gui::Slider speedSlider;
wi::gui::TextInputField startInput;
wi::gui::TextInputField endInput;
wi::gui::ComboBox recordCombo;
wi::gui::TreeList keyframesList;
void Update();
void RefreshKeyframesList();
void ResizeLayout() override;
};