Thor Brigsted
c6a4735c71
Renamed to xNode
...
Added XNode and XNodeEDitor namespaces
Removed unnecessary usings
2017-11-05 23:42:31 +01:00
Thor Kramer Brigsted
8eff75fa7f
Bug fixes
2017-11-02 16:17:28 +01:00
Thor Kramer Brigsted
cfccc4f89a
Made NodePort.type serializable - needed for instance ports
2017-11-02 16:12:26 +01:00
Thor Kramer Brigsted
d3bb36fe0e
Big update: Warning: Updating to this commit will break all node connections.
...
Internal NodePorts now uses dicts instead of lists. This is faster and more manageable.
Added instance ports.
Added Node.Ports, Node.Outputs, Node.Inputs, Node.InstanceOutputs, Node.InstanceInputs
Changed public GetInputByFieldName to GetInputValue and GetInputPort
2017-11-02 14:54:03 +01:00
Thor Brigsted
028c481a9d
Made NodePort.node private with a getter
2017-11-02 01:49:17 +01:00
Thor Kramer Brigsted
eaeca48f69
Improved null handling
2017-10-30 11:38:36 +01:00
Thor Brigsted
0150a7bb81
Improved GetInputsByFieldName<T> usage. Added getvalue type checks
2017-10-28 19:03:21 +02:00
Thor Kramer Brigsted
4de58ad0db
Added T GetInputByFieldName<T>(string fieldName, T fallback = default<T>();
...
Now retrieving input values is much easier.
As simple as
Material material = GetInputByFieldName("material", this.material);
2017-10-27 14:06:39 +02:00
Thor
49c12ec87e
Added NodePort.GetInputSum
2017-10-20 12:34:49 +02:00
Thor
4fcaede3b0
NodePort.GetValue changes
...
Removed NodePort.GetValue
Added NodePort.GetOutputValue
Added NodePort.GetInputValue
Added NodePort.GetInputValue<T>
Added NodePort.GetInputValues
Added NodePort.GetInputValues<T>
Added NodePort.TryGetInputValue<T>
2017-10-20 11:41:16 +02:00
Thor Brigsted
cf3bde96d0
PropertyField: Better handling of null values
2017-10-15 18:42:58 +02:00
Thor Brigsted
bb15a8fdd3
Improved handling of invalid connections
2017-10-15 18:27:29 +02:00
Thor Brigsted
64282028aa
Code FixFormat
...
None of the code was changed, just moved around.
2017-10-14 08:37:33 +02:00
Thor Brigsted
bc5c060dee
Improved broken connection cleanup. Example updates
2017-10-13 20:28:40 +02:00
Thor
899e5ae979
Fixed Clear all connections bug
2017-10-13 10:37:34 +02:00
Thor Brigsted
3dae0910dc
Serialization now works correctly. Removal of nodes still broken
2017-10-13 00:08:33 +02:00
Thor Brigsted
8ce0d63903
NodeDataCache changed from ScriptableObject to static class.
...
Nodes still don't load properly, but we're getting there.
2017-10-12 00:18:40 +02:00
Thor Brigsted
76e8b70316
Initialization performance updates (wip)
2017-10-09 19:52:41 +02:00
Thor Brigsted
147424ca73
Added DisplayValue and GetValue
2017-10-09 00:29:40 +02:00
Thor Brigsted
9dd3e1db75
Fixed Output registering as an Input
2017-10-08 23:33:25 +02:00
Thor Brigsted
6a4c29410a
Added VerifyConnections, Added GetPortByFieldName.
2017-10-08 02:00:33 +02:00
Thor Brigsted
698f02d716
Serialization now works. Node.cs is now a ScriptableObject.
2017-10-07 01:54:10 +02:00
Thor Brigsted
f8a0bb8f7c
Started work on NodeGraphExample
2017-09-27 23:41:01 +02:00
Thor Brigsted
2b0cf61435
Removed more JSON serialization
...
Also changed Rect "position" to Rect "rect"
2017-09-27 22:33:01 +02:00
Thor Brigsted
d88cf5b53d
OnValidate added for nodes
2017-09-22 12:46:45 +02:00
Thor Brigsted
372099b03d
Minor bugfixes and cleanup
...
Changed:
- Private fields with [Serializable] attributes are now also shown
- Nodes can now only be dragged by the title
- Output text alignment
Fixed:
- NodeEditorWindow fields not resetting to null
- Field editors
2017-09-21 18:15:40 +02:00
Thor Brigsted
846f7f30b1
Exposed fields and custom editors
2017-09-21 13:22:34 +02:00
Thor Brigsted
b7543df012
Serialized connections
...
Nodes now also have a reference to their NodeGraph
2017-09-21 10:54:49 +02:00
Thor Brigsted
d3f0d96954
Cleaned up
2017-09-20 20:25:21 +02:00
Thor Brigsted
f9152bf891
Editor core complete
...
Removed NodeConnection.cs: Node ports now operate by crossreferencing eachother
Changed from separate static classes to partial class
Removed UNEC Namespace
Added live hover info
2017-09-20 17:22:23 +02:00
Unknown
2a6341728b
Connections can now be dragged, not created.
2017-09-20 00:47:29 +02:00
Unknown
36ecfde3fe
Connections, Ports
2017-09-19 00:15:17 +02:00