Page 1 of 1

custom rendering

Posted: 27 Mar 2019, 13:42
by shawn
I am tried to implement an custom Image control that can both supports Texture Atlas and 9-Slice Scaling by inheriting Image and overriding its function "OnRender(DrawingContext dc)",and it worked well in VS blend. I think it's convenient to use it! Designers can use it like a simple Image and needn't to consider how to package texture atlas!
Unfortunately, There isn't "OnRender" function in Unity. I can't Implement my idea in this way. However, we may override it in C++ SDK right? why don't you support in unity

Re: custom rendering

Posted: 01 Apr 2019, 18:15
by sfernandez
Hi, Unity C# layer is built on top of our native library, and is something we are improving on every version, exposing what is defined in the C++ layer but also adapting it so it matches WPF API for better compatibility with the code generated by Blend.

Please create a ticket in our bugtracker reporting what you need and we will include it in one of our next releases.

Re: custom rendering

Posted: 08 Apr 2019, 09:52
by shawn
Hi, Unity C# layer is built on top of our native library, and is something we are improving on every version, exposing what is defined in the C++ layer but also adapting it so it matches WPF API for better compatibility with the code generated by Blend.

Please create a ticket in our bugtracker reporting what you need and we will include it in one of our next releases.
ok .thanks, And I did it.
https://www.noesisengine.com/bugs/view.php?id=1448

Re: custom rendering

Posted: 08 Apr 2019, 14:19
by sfernandez
Thank you, will work on that for a future version.