|
Polyphase Game Engine
|
#include <MathNodes.h>
Public Member Functions | |
| DECLARE_GRAPH_NODE (MultiplyVectorComponentNode, GraphNode) | |
| virtual void | SetupPins () override |
| virtual void | Evaluate () override |
| virtual const char * | GetNodeTypeName () const override |
| virtual const char * | GetNodeCategory () const override |
| virtual glm::vec4 | GetNodeColor () const override |
Public Member Functions inherited from GraphNode | |
| DECLARE_FACTORY_MANAGER (GraphNode) | |
| DECLARE_FACTORY (GraphNode, GraphNode) | |
| DECLARE_OBJECT (GraphNode, Object) | |
| GraphNode () | |
| virtual | ~GraphNode () |
| virtual bool | IsInputNode () const |
| virtual bool | IsFlowNode () const |
| virtual bool | IsEventNode () const |
| virtual const char * | GetEventName () const |
| virtual const std::string & | GetInputName () const |
| virtual void | SetInputName (const std::string &name) |
| void | SetGraph (NodeGraph *graph) |
| NodeGraph * | GetGraph () const |
| void | TriggerExecutionPin (uint32_t outputPinIndex) |
| bool | WasExecutionTriggered (uint32_t inputPinIndex) const |
| virtual void | SaveStream (Stream &stream) |
| virtual void | LoadStream (Stream &stream, uint32_t version) |
| virtual void | CopyCustomData (const GraphNode *src) |
| virtual bool | GetPinEnumOptions (uint32_t pinIndex, std::vector< PinEnumOption > &outOptions) const |
| GraphPin & | AddInputPin (const char *name, DatumType type, const Datum &defaultValue=Datum()) |
| GraphPin & | AddOutputPin (const char *name, DatumType type) |
| GraphPinId | GetInputPinId (uint32_t index) const |
| GraphPinId | GetOutputPinId (uint32_t index) const |
| GraphPin * | GetInputPin (uint32_t index) |
| GraphPin * | GetOutputPin (uint32_t index) |
| const Datum & | GetInputValue (uint32_t index) const |
| void | SetOutputValue (uint32_t index, const Datum &value) |
| uint32_t | GetNumInputPins () const |
| uint32_t | GetNumOutputPins () const |
| const std::vector< GraphPin > & | GetInputPins () const |
| const std::vector< GraphPin > & | GetOutputPins () const |
| std::vector< GraphPin > & | GetInputPins () |
| std::vector< GraphPin > & | GetOutputPins () |
| GraphNodeId | GetId () const |
| void | SetId (GraphNodeId id) |
| const glm::vec2 & | GetEditorPosition () const |
| void | SetEditorPosition (const glm::vec2 &pos) |
Public Member Functions inherited from Object | |
| virtual | ~Object ()=default |
| virtual const char * | RuntimeName () const =0 |
| virtual const char * | RuntimeParentName () const =0 |
| virtual RuntimeId | InstanceRuntimeId () const =0 |
| virtual Object * | QueryInterface (RuntimeId id) const |
| virtual bool | Is (RuntimeId id) const |
| virtual bool | Is (const char *name) const |
| virtual void | GatherProperties (std::vector< Property > &props) |
| virtual bool | DrawCustomProperty (Property &prop) |
| template<typename T > | |
| T * | As () const |
| virtual bool | Equals (const Object *rhs) const |
Additional Inherited Members | |
Static Public Member Functions inherited from GraphNode | |
| static void | WriteDatumToStream (Stream &stream, const Datum &datum) |
| static Datum | ReadDatumFromStream (Stream &stream) |
Static Public Member Functions inherited from Object | |
| static const char * | ClassRuntimeName () |
Protected Attributes inherited from GraphNode | |
| NodeGraph * | mGraph = nullptr |
| GraphNodeId | mId = INVALID_GRAPH_NODE_ID |
| std::vector< GraphPin > | mInputPins |
| std::vector< GraphPin > | mOutputPins |
| glm::vec2 | mEditorPosition = glm::vec2(0.0f) |
| GraphPinId | mNextPinId = 1 |
| MultiplyVectorComponentNode::DECLARE_GRAPH_NODE | ( | MultiplyVectorComponentNode | , |
| GraphNode | |||
| ) |
|
overridevirtual |
Reimplemented from GraphNode.
|
inlineoverridevirtual |
Reimplemented from GraphNode.
|
overridevirtual |
Reimplemented from GraphNode.
|
inlineoverridevirtual |
Reimplemented from GraphNode.
|
overridevirtual |
Reimplemented from GraphNode.