-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEmpty.h
50 lines (36 loc) · 1.04 KB
/
Empty.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#pragma once
#include "irrlicht.h"
#include "IrrManagers.h"
#include "Material.h"
#include "Vector2D.h"
#include "Vector3D.h"
#include "LuaLime.h"
#include <string>
#include <vector>
#include "DebugVisual.h"
#include "Compatible3D.h"
using namespace irr;
using namespace video;
class Empty : public Compatible3D {
public:
irr::scene::ISceneNode* emp = nullptr;
DebugSceneNode* d = nullptr;
Empty();
Empty(const Vector3D& pos);
Empty(const Vector3D& pos, const Vector3D& rot);
Empty(const Vector3D& pos, const Vector3D& rot, const Vector3D& scale);
bool getVisibility() const;
void setVisibility(bool visible);
Vector3D getPosition();
void setPosition(const Vector3D& pos);
Vector3D getRotation();
void setRotation(const Vector3D& rot);
Vector3D getScale();
void setScale(const Vector3D& scale);
bool getDebug();
void setDebug(bool visible);
sol::table getBoundingBox();
void destroy();
irr::scene::ISceneNode* getNode() const override { return emp; }
};
void bindEmpty();