If not already opened in the IDE editor, open the MoleculeSampleApp.java file that was created with the project creation. Having the three rotation components is helpful when changing rotation values frequently, such as in changing the angle of the camera in the scene. The file contains a translation component, three rotation components, and a scale component. The Xform node allows you to add your own types of transforms and rotation. Using the Xform node prevents the automatic recalculation of the position of a group node's pivot when the children of the group node is changed in a 3D UI layout. This file contains the source code for the Xform sub-class that is derived from the Group class. Create the scene that will hold your molecule UI layout.įirst, copy the contents of Xform.java and save it to a file Xform.java file in the moleculesampleapp source folder of the moleculesampleapp project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |