Peter Bay Bastian
ab990b62
TypeMapper and ScriptableObjectFactory
Only used in AbstractGraphInspector for now
8 年前
joce
4702ac61
Updated graphs
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
2a1b5b99
TypeMapper => GraphTypeMapper
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
c5baafe7
Integrate latest GraphView
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
7ab5cea2
Update shader graphs (placement was broken)
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
cfc167d9
TypeMapper now derives from BaseDataMapper
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
134a3007
Update to latest GraphView
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
3e485a48
DrawData be gone
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
574bc97d
First implementation of node collapsing for MG
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
af7694ae
GraphView update
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
66dac0cd
Fix GraphView editorconfig file.
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
64bf0c23
Fix MaterialGraph to match updated Unity changes
Signed-off-by: joce <joce@unity3d.com>
8 年前
Peter Bay Bastian
36c08357
Commandable manipulator for #11
8 年前
joce
98e645eb
Make Node and NodePresenter members private
They still accessible through public (and in the case of Node, virtual)
interfaces.
Signed-off-by: joce <joce@unity3d.com>
8 年前
Peter Bay Bastian
4ff1c093
NodeDrawer now derives from Node.
And all the superfluous files have been removed.
Signed-off-by: joce <joce@unity3d.com>
8 年前
Peter Bay Bastian
d683bd58
Handle nodes without any output
The right container simply isn't shown in this case.
Signed-off-by: joce <joce@unity3d.com>
8 年前
Peter Bay Bastian
4a3e71ed
Modify Node to be compatible with MG's layout
- NodalView.uss is now gone as the Node's layouting is now in GraphView.uss
- Node now has a bunch of containers to match Hugo's design
This is not be final as, for example, the collapse button is an ugly button
and we're not yet dealing with empty input/output list as required.
Signed-off-by: joce <joce@unity3d.com>
8 年前
Tim Cooper
0a990a6d
allow specifying the UV channel on the UV node.
8 年前
Tim Cooper
8133e0c7
Focus graph when changing selection.
8 年前
Tim Cooper
17429180
Add support for setting default input values on material sub graphs (when editing the graph) so there is something to compare with.
8 年前
joce
2539e9c2
Undo optimization that broke edges
Edges where no longer following the anchors when the node was being moved.
Signed-off-by: joce <joce@unity3d.com>
8 年前
Peter Bay Bastian
1770fee9
Duplication support for graph nodes
8 年前
Peter Bay Bastian
ce272542
Implemented copy/paste functionality for graph (currently uses shift rather than ctrl, as the latter does not fire the event)
8 年前
Peter Bay Bastian
d99fa8d2
Moved global selection handling into its own manipulator, rather than piggy-backing the ClickSelector, as an edge case was not being handled.
(when the selection didn't change the global selection wouldn't be changed - e.g. "select node in graph, select something from the scene, click selected node" wouldn't select the graph in the project window)
8 年前
Peter Bay Bastian
ff7ce7e4
Optimized `Edge.GetFromToPoints` with caching of left and right anchor `GraphElement`'s.
It is called in every frame and calls `parent.allElements` twice to find the GraphElement for its anchors. The implementation of `allElements` is very slow right now (as is noted in `VisualContainer.cs` comments), but either way we should avoid a traversal of all `VisualElement`'s for every edge every frame.
8 年前
Peter Bay Bastian
4d814c36
Fixed a bug causing null reference errors if no graph asset was selected
8 年前
Peter Bay Bastian
fc03abf6
Fixed a bug causing frequent, unneeded serialization of the entire graph in the graph inspector
8 年前
Peter Bay Bastian
adc4b060
Added graph inspectors for sub and remap graphs
8 年前
Peter Bay Bastian
2eace1c5
Extracted abstract base class from MaterialGraphInspector
8 年前
Peter Bay Bastian
663e90f3
If no node is pinned in graph inspector, display message rather than hiding the preview completely
8 年前
Peter Bay Bastian
e73c926b
Disable ReSharper warning about delegate subtraction as it is not valid for our use case
8 年前
joce
0e9bf43e
Add .editorconfig: spaces everywhere but NewUI
Signed-off-by: joce <joce@unity3d.com>
8 年前
GitHub
0ef45c8c
Merge pull request #5 from stramit/issues-fix
Issues fix
8 年前
joce
e895baa6
Make added nodes appear under mouse cursor
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
184e9204
Fix weird bar under title bar
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
72ac3b4c
Fix RectangleSelect + node selection highlight
Both issues were caused by the nodes positioning incorrectly being flagged as
Relative. Putting it to Absolute fixed all of this. It also messed with the
nodes positioning, which is why the ShaderGraphs had to be changed as well.
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
4aa813fd
Update to new GraphView
Update includes fix for MiddleMouse / Alt+LeftMouse pan
Signed-off-by: joce <joce@unity3d.com>
8 年前
Tim Cooper
e6b70122
[Material Graph]Show slot default inputs in the inspector.
8 年前
Peter Bay Bastian
46e1234d
Styling for connectors
8 年前
Peter Bay Bastian
cb87ed84
Minor improvements to graph inspector
8 年前
Peter Bay Bastian
7343f497
Added IDisposable functionality to ObjectPool (and ListPool)
8 年前
Peter Bay Bastian
ddc991d7
Removed un-pin functionality, such that a node is always pinned (defaults to active master node). Also improved interface for AbstractGraphInspector.
8 年前
Peter Bay Bastian
e5c4ffb6
Inspector now listens for changes to node relevant to the previewed node. It is now possible to pin the selected node, while another node is pinned (to avoid having to click 2 times). Constant re-paint is now only turned on if any relevant nodes require time.
8 年前
Peter Bay Bastian
a2959466
Implemented node pinning
8 年前
Peter Bay Bastian
2483a684
Added preview of first selected node in inspector
8 年前
Peter Bay Bastian
0d1c4d7e
Extracted common parts of MaterialGraphAsset, MaterialRemapAsset and MaterialSubGraphAsset into abstract class
8 年前
Evgenii Golubev
9ec4d867
Clean up
8 年前
Evgenii Golubev
5f0870cc
Update comments and store the value of the integral of the image
8 年前
Evgenii Golubev
0b7d0d75
Update the comment
8 年前
Evgenii Golubev
52100761
Use texture Load() instead of sampling
8 年前