Россия
Joined: May 16, 2020
Post Count: 11
Status:
Offline
Cannot make it work setBackgroundImageVisibleOnGround3D.
Good day to the community. Would really appreciate if someone could give me a hand. I spent ages in making my plugin. Now it works and only one small feature is not working. I'm loading from plugin background picture and i need it wo be shown on 3d view.
I've found setBackgroundImageVisibleOnGround3D method.
I'm trying to use following code homeEnvironment = new HomeEnvironment(); homeEnvironment.setBackgroundImageVisibleOnGround3D(true);
No errors fired, but background still invisible in 3d view.
I know, that there is a way to make it with home3DAttributesController, but i have no clue on how to make a code. I only have Home and userPreferences in my plugin, and i'm really frustrated, that i need to declare viewFactory, contentmanager.
Please give me a hand on that one. I need to get background visible on 3d view from plugin.