Aspose.3D for Java 19.6 tes elease ootes

Ements proو Cمعلقة

Key Sأوماري Category
THREEDNET-511 تعزيز تكوين الاسطوانة New eature
THREEDNET-507 Ose نشأت بعض المواد أثناء فتح ملف RVM Bug
THREEDNET-508 Tانه نظام قد تفشل في تخصيص مجموعة وصف في بعض الأحيان في renulkan renderer Bug

Public API و ackأكواردز hangمتوافق مع hangمعلقة

See قائمة أي تغييرات أجريت على الجمهور API مثل إضافة أو إعادة تسميتها أو إزالتها أو إهمال الأعضاء وكذلك أي تغيير متوافق غير متخلف تم إجراؤه على Aspose.3D for Java. If لديك مخاوف حول أي تغيير المدرجة ، يرجى رفع علىAspose.3D دعم المنتدى.

Property dded الملكية الجديدة ffffsetTop في الفئة com.aspose.threed.Cylinder

 /**

 * Gets the vertices transformation offset of the top side.

 */

public Vector3 getOffsetTop();

/**

 * Sets the vertices transformation offset of the top side.

 * @param value New value

 */

public void setOffsetTop(Vector3 value);

Added الملكية الجديدة ffffsetBorrom في الفئة com.aspose.threed.Cylinder

 /**

 * Gets the vertices transformation offset of the bottom side.

 */

public Vector3 getOffsetBottom();

/**

 * Sets the vertices transformation offset of the bottom side.

 * @param value New value

 */

public void setOffsetBottom(Vector3 value);

Sرمز وافرة لتوليد اسطوانة مع تخصيص ffffsetTop:

 Scene scene = new Scene();

Cylinder cylinder1 = new Cylinder(2, 2, 10, 20, 1, false);

cylinder1.setOffsetTop(new Vector3(5, 3, 0));

scene.getRootNode().createChildNode(cylinder1).getTransform().setTranslation(10, 0, 0);

Cylinder cylinder2 = new Cylinder(2, 2, 10, 20, 1, false);

scene.getRootNode().createChildNode(cylinder2);

scene.save("test.obj", FileFormat.WAVEFRONTOBJ);

استعراض P:

تودو: الصورة_البديل_نص

Tترك واحد لديهOffsetTopتعيين إلى (5 ، 3 ، 0) ، فإنه من السهل أن نرى الغطاء العلوي قد انتقلت والجذع كله يتأثر أيضا.

Property dded الملكية الجديدة enerenerateFanCylinder في الفئة com.aspose.threed.Cylinder

 /**

 * Gets whether to generate the fan-style cylinder when the ThetaLength is less than 2*PI, otherwise the model will not be cut.

 */

public boolean getGenerateFanCylinder();

/**

 * Sets whether to generate the fan-style cylinder when the ThetaLength is less than 2*PI, otherwise the model will not be cut.

 * @param value New value

 */

public void setGenerateFanCylinder(boolean value);

Sرمز وافرة لتوليد اسطوانة نمط مروحة واسطوانة نمط غير مروحة:

 Scene scene = new Scene();

Cylinder fan = new Cylinder(2, 2, 10, 20, 1, false);

fan.setGenerateFanCylinder(true);

fan.setThetaLength(MathUtils.toRadian(270.0));

scene.getRootNode().createChildNode(fan).getTransform().setTranslation(10, 0, 0);

Cylinder nonfan = new Cylinder(2, 2, 10, 20, 1, false);

scene.getRootNode().createChildNode(nonfan);

scene.save("test.obj", FileFormat.WAVEFRONTOBJ);

استعراض P:

تودو: الصورة_البديل_نص

Tانه ترك اسطوانة لديها enerenerateFanCylinder = كاذبة واليمين واحد لديه enerenerateFanCylinder = صحيح.

Property dded عقار جديد hearhearTop في الفئة com.aspose.threed.Cylinder

 **

 * Gets of the shear transform of the top side, vector stores the (x-axis, z-axis) shear value that measured in radian, default value is (0, 0)

 */

public Vector2 getShearTop();

/**

 * Sets of the shear transform of the top side, vector stores the (x-axis, z-axis) shear value that measured in radian, default value is (0, 0)

 * @param value New value

 */

public void setShearTop(Vector2 value)

Added عقار جديد ShearBأوتوم في فئة com.aspose.threed.Cylinder

 /**

 * Gets of the shear transform of the bottom side, vector stores the (x-axis, z-axis) shear value that measured in radian, default value is (0, 0)

 */

public Vector2 getShearBottom();

/**

 * Sets of the shear transform of the bottom side, vector stores the (x-axis, z-axis) shear value that measured in radian, default value is (0, 0)

 * @param value New value

 */

public void setShearBottom(Vector2 value);

Sرمز وافرة لإظهار استخدام hearhearBمرتفعة (ShearTop):

 Scene scene = new Scene();

Cylinder cylinder1 = new Cylinder(2, 2, 10, 20, 1, false);

cylinder1.setShearBottom(new Vector2(0, 0.83));//shear 47.5deg in xy plane(z-axis)

scene.getRootNode().createChildNode(cylinder1).getTransform().setTranslation(10, 0, 0);

Cylinder cylinder2 = new Cylinder(2, 2, 10, 20, 1, false);

scene.getRootNode().createChildNode(cylinder2);

scene.save("test.obj", FileFormat.WAVEFRONTOBJ);

استعراض P:

تودو: الصورة_البديل_نص

Tترك اسطوانة لديه hearhearBأوتوم إلى (0 ، 0.83) في حين أن الحق هو اسطوانة عادية.