Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
NodeObject.h
Go to the documentation of this file.
1#pragma once
2
5
6#include <SDL/sdl_interface.h>
7
8#include <string>
9
10namespace ph::editor
11{
12
14{
15public:
16 /*math::TDecomposedTransform<real> getLocalToParent() const override;
17 void setLocalToParent(const math::TDecomposedTransform<real>& transform) override;*/
18
19private:
20 ObjectTransform m_nodeTransform;
21
22public:
23 PH_DEFINE_SDL_CLASS(TSdlOwnerClass<NodeObject>)
24 {
25 ClassType clazz("node-dobj");
26 clazz.docName("Node Designer Object");
27 clazz.description("Node that connects objects to form a hierarchy.");
28 clazz.baseOn<HierarchicalDesignerObject>();
29
30 clazz.addStruct(&OwnerType::m_nodeTransform);
31
32 return clazz;
33 }
34};
35
36}// end namespace ph::editor
Definition HierarchicalDesignerObject.h:14
Definition NodeObject.h:14
PH_DEFINE_SDL_CLASS(TSdlOwnerClass< NodeObject >)
Definition NodeObject.h:23
Definition ObjectTransform.h:16
Definition ph_editor.h:10