As seen in the image, DrawDebugLine lets the user set the colour right on the node’s input pin.
How does one make their own BP function with a FColor input that does the same thing?
As seen in the image, DrawDebugLine lets the user set the colour right on the node’s input pin.
How does one make their own BP function with a FColor input that does the same thing?
Answer: Don’t use a Color input, use a LinearColor. The colour picker then appears automatically.
Did you look at the code for that “Draw Debug Line” node, and try to repeat its setup in a custom BP function?
Hi, any reason you don’t want to use “Linear Color” as variable type?
I didn’t think of that, thanks
Looks like I answered without noticing your comment. I didn’t know LinearColor was a thing, and that was indeed the solution. Thanks