加入 Node节点类 还未测试新框架

This commit is contained in:
2025-10-27 23:12:56 +08:00
parent 80d088316b
commit 0ae47e5d6a
52 changed files with 1642 additions and 458 deletions

View File

@@ -1,8 +1,7 @@
#pragma once
#include "EngineFrame/Base/Actor.h"
#include "EngineFrame/Component/Component.h"
class RenderBase : public Component
class RenderBase : public Actor
{
public:
@@ -19,21 +18,11 @@ public:
bool Visible = true;
// 是否在屏幕内
bool IsInScreen = false;
//渲染矩阵
GlMatrix RenderMatrix;
};
public:
RenderBase(/* args */);
~RenderBase();
public:
void Init() override;
void Update(float deltaTime) override;
void Render() override;
public:
public:
// 设置迭代的坐标
void SetIterationPos(Vec2 pos) override;