加入 Node节点类 还未测试新框架
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user