Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
using Godot;
using JetBrains.Annotations;
using OpenScadGraphEditor.Utils;
namespace OpenScadGraphEditor.Nodes
{
[UsedImplicitly]
public class NotEqualOperator : BinaryComparisonOperator
{
public override string NodeTitle => "!=";
public override string NodeQuickLookup => "!=";
public override string NodeDescription => "Compares if two values are not equal.";
protected override string OperatorSign => "!=";
public override bool Supports(PortType portType)
{
return portType == PortType.Number
|| portType == PortType.String
|| portType == PortType.Boolean
|| portType == PortType.Any
|| portType == PortType.Vector2
|| portType == PortType.Vector3
|| portType == PortType.Vector;
}
public override Texture NodeBackground => Resources.LessIcon;
}
}7951eb9aaThis file is pinned to the selected release. Download the original to open it in your design tool.