Seneral / Node_Editor_Framework

A flexible and modular Node Editor Framework for creating node based displays and editors in Unity
https://nodeeditor.seneral.dev
MIT License
2.01k stars 414 forks source link

Clipping for custom runtime Bezier drawing #44

Closed Seneral closed 8 years ago

Seneral commented 8 years ago

Description: As handles cannot be used at runtime, I created a bezier drawing function some time ago. It works but currently does not provide clipping (not only for optimisation, but it will extend over bounds).

State: None. To get the bounds to clip to, use GUIScalingUtility.cs, there are properties to get the parent group rect.

Location: RTEditorGUI.cs

pmhpereira commented 8 years ago

I'll tackle this. :+1:

Seneral commented 8 years ago

Very nice, thanks! :)

Seneral commented 8 years ago

Finally implemented it in a85636a:)