In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces TE7 how to achieve multi-ball linkage development, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
In the development of some systems, functions such as scheme comparison need to load multiple three-dimensional spheres and achieve the linkage effect of three-dimensional spheres. The three-dimensional development of skyline supports multiple balls to load together to achieve the effect.
For the specific function implementation, take the development of BS as an example, only the loading mode of the control in CS development is different:
Load multiple 3D controls on the window. The id of each control is different, and the CLASSID is the same. Here are three Earth window controls loaded.
In the js code, define the sgworld object interface, each of which needs to be initialized according to the different id of the window
SGWorld = TerraExplorer3DWindowEx.CreateInstance ("TerraExplorerX.SGWorld70")
SGWorld1 = TerraExplorer3DWindowEx1.CreateInstance ("TerraExplorerX.SGWorld70")
SGWorld2 = TerraExplorer3DWindowEx2.CreateInstance ("TerraExplorerX.SGWorld70")
Next, open the three-window fly file according to TE's API.
SGWorld.Project.Open ("fly File address", false, ",")
SGWorld1.Project.Open ("fly1 File address", false, ",")
SGWorld3.Project.Open ("fly2 File address", false, ",")
To achieve the linkage effect of three balls, you need to call the following method in TE API. This method can also achieve that several of the balls have a certain position difference, but not all of them need to be exactly the same.
SGWorld1.Application.Multiple3DWindows.LinkPosition (SGWorld,0,0,0,0,0,0)
SGWorld2.Application.Multiple3DWindows.LinkPosition (SGWorld,0,0,0,0,0,0)
Realize the effect picture:
Thank you for reading this article carefully. I hope the article "how to achieve multi-ball joint development of TE7" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.