![]() |
|
Dynamically Added PlaneVisual3D Material Disappears - Printable Version +- AB4D Forum (https://forum.ab4d.com) +-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4) +--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9) +--- Thread: Dynamically Added PlaneVisual3D Material Disappears (/showthread.php?tid=3951) |
Dynamically Added PlaneVisual3D Material Disappears - curimus - 09-09-2015 Hello! When I run following code in my application constructor i got my plane material right, I got Label with white text and black background. While my application runs I add dynamically plane by calling same method again and I get only white text, but background on it is transparent? Could someone tell me what im doing wrong? Code: PlaneVisual3D myPlane = new PlaneVisual3D();Hope you get idea! Best regards RE: Dynamically Added PlaneVisual3D Material Disappears - curimus - 09-10-2015 (09-09-2015, 01:26 PM)curimus Wrote: Hello! I Finally sorted it out. I wrapped label inside Border which background was set black and that border was used to made visual brush. Now background works while adding planes dynamically. Cheers! |