internal static void ActivateOutput(FlowGraphNode node, int portIndex) { FlowNodePort port = node.Outputs[portIndex]; FlowNodePortActivationEventArgs eventArgs = new FlowNodePortActivationEventArgs { Name = port.Name, DisplayName = port.DisplayName, Description = port.Description, Type = port.Type, IsOutput = true, Value = null }; node.OnActivated(eventArgs); Native.FlowNodeInterop.ActivateOutput(node.Handle, portIndex); node.OnPostActivated(eventArgs); }
internal static void ActivateOutput(FlowGraphNode node, int portIndex, Vector3 value) { node.ActivateOutput(portIndex, value, Native.FlowNodeInterop.ActivateOutputVec3); }
internal static void ActivateOutput(FlowGraphNode node, int portIndex, bool value) { node.ActivateOutput(portIndex, value, Native.FlowNodeInterop.ActivateOutputBool); }
internal static void ActivateOutput(FlowGraphNode node, int portIndex, string value) { node.ActivateOutput(portIndex, value, Native.FlowNodeInterop.ActivateOutputString); }
internal static void ActivateOutput(FlowGraphNode node, int portIndex, EntityId value) { node.ActivateOutput(portIndex, value.Value, Native.FlowNodeInterop.ActivateOutputEntityId); }
internal void Initialize(FlowGraphNode nodeHandle, int id) { this.NodeHandle = nodeHandle; this.Identifier = id; }