![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <ComponentNodeData.h>
Collaboration diagram for Olympe::NodePort:Public Member Functions | |
| NodePort ()=default | |
| NodePort (NodeId nodeId, uint32_t index, bool isOutput=false) | |
| json | ToJson () const |
Static Public Member Functions | |
| static NodePort | FromJson (const json &data, NodeId nodeId) |
Public Attributes | |
| PortId | portId = InvalidPortId |
| NodeId | nodeId = InvalidNodeId |
| uint32_t | portIndex = 0 |
| Vector | position |
| float | radius = 4.0f |
| bool | isOutput = false |
Definition at line 17 of file ComponentNodeData.h.
|
default |
Definition at line 28 of file ComponentNodeData.h.
Definition at line 44 of file ComponentNodeData.h.
References GetComponentTypeID_Static(), Olympe::InvalidPortId, and nodeId.
Referenced by Olympe::ComponentNode::FromJson().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 25 of file ComponentNodeData.h.
Referenced by ToJson().
| NodeId Olympe::NodePort::nodeId = InvalidNodeId |
Definition at line 20 of file ComponentNodeData.h.
Referenced by FromJson().
| PortId Olympe::NodePort::portId = InvalidPortId |
Definition at line 19 of file ComponentNodeData.h.
Referenced by ToJson().
| uint32_t Olympe::NodePort::portIndex = 0 |
Definition at line 21 of file ComponentNodeData.h.
Referenced by ToJson().
| Vector Olympe::NodePort::position |
Definition at line 22 of file ComponentNodeData.h.
Referenced by ToJson().
| float Olympe::NodePort::radius = 4.0f |
Definition at line 24 of file ComponentNodeData.h.
Referenced by ToJson().