Editor: UI panels and GameObject updates
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
#include <optional>
|
||||
|
||||
#include <XCEngine/Core/Event.h>
|
||||
#include <XCEngine/Core/Math/Vector3.h>
|
||||
#include <XCEngine/Core/Math/Quaternion.h>
|
||||
#include <XCEngine/Components/GameObject.h>
|
||||
#include <XCEngine/Scene/Scene.h>
|
||||
|
||||
@@ -61,7 +63,9 @@ private:
|
||||
|
||||
struct ClipboardData {
|
||||
std::string name;
|
||||
std::vector<std::unique_ptr<::XCEngine::Components::Component>> components;
|
||||
Math::Vector3 localPosition = Math::Vector3::Zero();
|
||||
Math::Quaternion localRotation = Math::Quaternion::Identity();
|
||||
Math::Vector3 localScale = Math::Vector3::One();
|
||||
std::vector<ClipboardData> children;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user