Node editor - Added node collection pin add/remove

Node editor - Added first static value node
This commit is contained in:
Robert committed 2022-03-20 15:54:36 +01:00
1 parent 2907b86174
commit d9d237e0eb
36 files changed
+575 -188

No files matched your search

+4
View File
@@ -43,6 +43,10 @@ namespace Artemis.Core.Services
if (match != null)
return match;
// Objects represent an input that can take any type, these are hardcoded white
if (type == typeof(object))
return new TypeColorRegistration(type, new SKColor(255, 255, 255, 255), Constants.CorePlugin);
// Come up with a random color based on the type name that should be the same each time
MD5 md5Hasher = MD5.Create();
byte[] hashed = md5Hasher.ComputeHash(Encoding.UTF8.GetBytes(type.FullName!));