NodeGraphProcessor icon indicating copy to clipboard operation
NodeGraphProcessor copied to clipboard

Output with Properties

Open dannymate opened this issue 3 years ago • 0 comments

Allowed Properties to be used with the OutputAttribute. I switched from using FieldInfo the MemberInfo. I needed to create a few helper methods to mirror the functionality you were using.

Example: image image

Simplifies passthrough nodes like the FloatNode in the example. Allows you to generate a random number for each edge individually.

These are just a couple of things I've thought of for using Properties as ports.

I also have a branch that goes through and changes most references to FieldInfo/field to member for consistency here: https://github.com/dannymate/NodeGraphProcessor/tree/FieldInfo-To-MemberInfo. I didn't put it in this request in case you thought it was superfluous.

dannymate avatar Feb 14 '22 17:02 dannymate