![]() ![]() Use the following code in your Java application to set 3D rotation properties using Aspose.Diagram for Java API. The following piece of code demonstrates translation, rotation on. Retrieve a shape by page name and ID parameters. A Java3D tutorial that explains how to load a 3D model from disk and interact with it.The ThreeDFormat member exposed by the Shape class can be used to set 3d rotation properties. The Perspective cell value determines the perspective angle for a perspective rotation, in degrees (0 to 359.9). The DistanceFromGround cell value determines the distance the object is raised from the ground in the points when rotated in 3-D. The KeepTextFlat cell value indicates whether a shape’s text will ignore the shape’s rotation in 3-D. Oblique rotation presets (bottom left, bottom right, top left and top right), where the shape is rotated with oblique projection.Perspective rotation, where the shape is rotated with linear perspective.Parallel rotation, where the shape is rotated without accounting for linear perspective.The RotationType’s enum value controls the rotation type: Set 3D Rotation Properties in ShapesheetĪspose.Diagram for Java API allows developers to change 3D rotation values in the shapesheet. The RotationXAngle, RotationYAngle, and RotationZAngle cell values control the degree of rotation in each of the respective axes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |