Aspose.3D for Java 19.5 Release Notes
Improvements and Changes
|THREEDNET-501||Integrate with latest Dynabic.Metered||Enhancement|
|THREEDNET-505||Allow change plane’s orientation by specifying an up normal||Enhancement|
|THREEDNET-489||Shadow is not working in Vulkan renderer||Bug|
|THREEDNET-504||Draco created from STL file is broken||Bug|
Public API and Backwards Incompatible Changes
See the list of any changes made to the public API such as added, renamed, removed or deprecated members as well as any non-backward compatible change made to Aspose.3D for Java. If you have concerns about any change listed, please raise it on the Aspose.3D support forum.
Added new property Radius in class com.aspose.threed.Plane
/** * Gets the up vector of the plane, default value is (0, 1, 0), this affects the generation of the plane */ public Vector3 getUp(); /** * Sets the up vector of the plane, default value is (0, 1, 0), this affects the generation of the plane * @param value New value */ public void setUp(Vector3 value);
Sample code to specify radius by property rather than constructor argument:
Scene scene = new Scene(); Plane plane = new Plane(); plane.setUp(new Vector3(1, 1, 3)); scene.getRootNode().createChildNode(plane); //This will generate a plane that has customized orientation scene.save("test.obj", FileFormat.WAVEFRONTOBJ);
Added new method “getConsumptionCredit” in class com.aspose.threed.Metered
/** \* Gets consumption credit \* @return consumption quantity */ public static double getConsumptionCredit() throws Exception;
Gets the consumption credit of current month, used by Dynabic.Metered billing service.