TerraForge3D  2.3.1
3D Terrain And Landscape Generator
NodeEditorNode Class Referenceabstract
Inheritance diagram for NodeEditorNode:
AbsNode AddNode BlendNode ClampNode CosNode CurveNode DivNode DummyNode DuplicateNode HeightmapNode HillNode MathFunctionNode MaxMeshCoordinatesNode MeshCoordinatesNode MinMeshCoordinatesNode MinValNode MulNode NoiseCellularNode NoiseOpenSimplex2Node NoiseOpenSimplex2SNode NoisePerlinNode NoiseValueCubicNode NoiseValueNode OutputNode PixelateNode RandomNumberNode SNENode SinNode SquareNode SubNode TanNode TextureCoordinatesNode TextureNode TimeBasedSeedNode VisualizerNode

Public Member Functions

virtual NodeOutput Evaluate (NodeInputParam input, NodeEditorPin *pin)=0
 
virtual std::vector< NodeEditorPin * > GetPins ()
 
virtual bool OnLink (NodeEditorPin *pin, NodeEditorLink *link)
 
virtual void OnDelete ()
 
nlohmann::json SaveInternal ()
 
void LoadInternal (nlohmann::json data)
 
virtual void Load (nlohmann::json data)=0
 
virtual nlohmann::json Save ()=0
 
virtual void OnRender ()=0
 
void Render ()
 
void Setup ()
 
void DrawHeader (std::string text)
 
 NodeEditorNode (int id=GenerateUID())
 

Public Attributes

ImVec2 nodePosition
 
bool reqNodePosLoad
 
int id
 
ImGuiNodeEditor::NodeId _id
 
std::vector< NodeEditorPin * > outputPins
 
std::vector< NodeEditorPin * > inputPins
 
char userData [128]
 
std::string name
 
ImU32 headerColor = ImColor(59, 29, 209)
 
std::mutex m
 

Detailed Description

Definition at line 117 of file NodeEditor.h.


The documentation for this class was generated from the following files: