Aspose.3D FOSS for .NET

مرجع API لـ: 3D 26.1.0 (.NET 10.0 + ، ترخيص MIT).

جميع الفئات تقع في المرحلة الثانوية. Aspose.ThreeD مساحة أسماء الجذر. الموجز الذي يستخدم هو:

using Aspose.ThreeD;

اتفاقية تسمية C#: جميع الخصائص تستخدم صيغة الصفات القياسية في C#. على سبيل المثال، استخدام scene.RootNode بدلا من scene.getRootNode(),، و transform.Translation = ... بدلا من transform.setTranslation(...).

غلاف حقل المتجه: المكتبة لديها مجموعتين من أنواع المتجهات. Aspose.ThreeD.Utilities.Vector2/3/4 (مستخدمة من قبل Mesh.ControlPoints,، الهندسة، ومعظم العمليات الرياضية) هي دقة مزدوجة مع الحروف الصغيرة المجال العام (v.x, v.y, v.z, v.w) الأبسط Aspose.ThreeD.Vector2/3/4 المباني (في Vector.cs) هي: دقة واحدة (طائرة) مع حرف كبير المجال العام (v.X, v.Y, v.Z). FVector2/3/4 و Quaternion و Matrix4 استخدم حقل الوصول بالبرجاءات الكبيرة. Aspose.ThreeD.Utilities أنواع العمل الهندسي.


الرسم البياني لمشهد الأساسي

ClassDescription
A3DObjectالطبقة الأساسية لجميع الأشياء Aspose.ThreeD، جميع الفئات الفرعية ستدعم الخصائص الديناميكية.
AnimationChannelAnimationChannel.AnimationChannel creates a new animation channel with no target specified.
AnimationClipThe Animation clip is a collection of animations.
AnimationNodeAspose.3D’s supports animation hierarchy, each animation can be composed by several animations and animation’s key-frame definition.
ArrayListAspose.3D has its own highly optimized implementation of List{T} for better loading/saving performance Only this interface is exposed for user with IList{T} compatible and similar interfaces.
AssetInfoInformation of asset.
AxisSystemنظام المحور هو مزيج من النظام الإحداثي، المتجه للأعلى والمتجه الأمامي.
BasicLoadOptionsBasic load options.
BindPointA BindPoint is usually created on an object’s property, some property types contains multiple component fields(like a Vector3 field), will generate channel for each component field and connects the field to one or more keyframe sequence instance(s) through the channels.
Boneالعظام تحدد مجموعة فرعية من نقطة التحكم في الهندسة، وتحدد وزن الخليط لكل نقطه التحكيم.
BooleanOperandهذه الطبقة تغطي الشبكة المحوّلة كعملية بولية.
BooleanOperatorClass with 12 methods and 9 properties.
BoxBox.
Cameraالكاميرا تصف وجهة نظر المشاهد الذي ينظر إلى المنطقة.
Circleيتكون المنحنى من مجموعة نقاط في حافة شكل الدائرة.
ColladaSaveOptionsSave options for Collada format.
CompositeCurveA يتكون من عدة قطاعات منحنى.
Curveالطبقة الأساسية لجميع تنفيذات المنحنى.
CustomObjectRepresents custom object data.
CylinderParameterized Cylinder.
DeformerBase class for and.
DishParameterized dish.
DracoFormatGoogle Draco format.
DracoSaveOptionsSave options for Google draco files.
Ellipseيُعرّف التجويف مجموعة من النقاط التي تشكل شكل التنجيم.
EntityThe base class of all entities.
EntityRendererKeyThe key of registered entity renderer.
ExportExceptionExport exception.
ExtrapolationExtrapolation.Type gets or sets the extrapolation mode using the ExtrapolationType enum.
FbxLoadOptionsLoad options for FBX format.
FbxSaveOptionsSave options for FBX format.
FileFormatFile format definition.
FileFormatTypeFile format type.
FileSystemFile system encapsulation.
FileSystemFactoryFactory class for FileSystem.
FrustumThe base class of Camera and Light.
Geometryالفئة الأساسية لجميع الكائنات الهندسية القابلة للتعديل (مثل الشبكة، الصندوق، الأسطوانة وما إلى ذلك).
GlobalTransformالتحول العالمي مشابه للكلمة ولكن غير قابل للتغيير بينما يمثل التحويل النهائي المقيّم.
GltfLoadOptionsLoad options for glTF format.
GltfSaveOptionsSave options for glTF format.
GroupGroup.Group(name:string) creates a Group with the specified name.
HalfSpacerepresents a infinity space which is split by a plane, this can be used with.
IOConfigIO config for serialization/deserialization.
IOExtensionIOExtension.Write writes the Matrix4 value to the provided BinaryWriter.
ImageRenderOptionsImage render options.
ImportExceptionImport exception.
KeyFrameKeyFrame.KeyFrame creates a new empty key frame instance.
KeyframeSequenceKeyframeSequence.KeyframeSequence creates an empty keyframe sequence with no property name.
LambertMaterialمادة لنموذج لامبرت.
LicenseLicense management class (not available in FOSS version).
LightThe light illuminates the scene.
LineA polyline is a path defined by a set of points with segments, and connected by edges, which means it can also be a set of connected line segments.
LinearExtrusionالتطحين الخطي يأخذ شكل ثنائي الأبعاد كمدخل ويمد الشكل في البعد الثالث.
LoadOptionsBase class of load options.
Materialالمواد تحدد المعايير اللازمة للظهور البصري للهندسة.
MathUtilsMathUtils.CalcNormal calculates the normal vector of a polygon defined by an array of Vector3 points.
MeshA mesh is made of many n-sided polygons.
Meteredفئة إدارة الترخيص المقياس (غير متوفر في نسخة FOSS).
Microsoft3MFFormatمثال شكل الملفات لـ Microsoft 3MF مع أدوات التطبيق المتعلقة بـ 3 M F.
Microsoft3MFSaveOptionsClass with 2 methods and 7 properties.
MorphTargetChannelA MorphTargetChannel is used by to organize the target geometries.
MorphTargetDeformerMorphTargetDeformer provides per-vertex animation.
NodeRepresents an element in the scene graph.
NurbsCurveNURBS curve is a curve represented by NURBS(Non-uniform rational basis spline), A NURBS curve is defined by its control points, a set of weighted control points and a knot vector The w component in co.
NurbsDirectionA 3D surface has two direction, the U and V, the NurbsDirection defines data for each direction.
NurbsSurfaceis a surface represented by NURBS(Non-uniform rational basis spline), A is defined by two and .
ObjLoadOptionsLoad options for Wavefront OBJ format.
ObjSaveOptionsSave options for Wavefront OBJ format.
ParseExceptionParseException.ParseException creates a new ParseException with the provided error message.
PatchA is a parametric modeling surface, similar to , it’s also defined by two , the and .
PatchDirectionPatch’s U and V direction.
PbrMaterialمادة للتصوير المادي على أساس الألبيدو لون/معدن/حرجة.
PdfFormatAdobe’s Portable Document Format.
PdfLoadOptionsOptions for PDF loading.
PdfSaveOptionsThe save options in PDF exporting.
PhongMaterialمادة لنموذج الظل العمياء.
PlaneParameterized plane.
PlyFormatThe PLY format.
PlyLoadOptionsPlyLoadOptions.PlyLoadOptions creates a new instance with default options for loading PLY files.
PlySaveOptionsPlySaveOptions.PlySaveOptions constructs a new instance with default PLY save settings.
PointCloudسحابة النقاط لا تحتوي على معلومات توبولوجية ولكن فقط نقاط التحكم وعناصر القمة.
PolygonBuilderA helper class to build polygon for.
PolygonModifierPolygonModifier.Triangulate triangulates all faces of the supplied Mesh into triangles.
PosePose.
Primitiveالطبقة الأساسية لجميع البدائيين.
Profile2D Profile in xy plane.
PropertyClass to hold user-defined properties.
PropertyCollectionThe collection of properties.
PyramidParameterized pyramid.
RectangularTorusParameterized rectangular torus.
RevolvedAreaSolidيمثل هذا الفصل نموذجًا صلبًة عن طريق تحويل مقطع متقاطع يتم توفيره بواسطة الملف حول محور.
RvmFormatThe RVM Format.
SaveOptionsBase class of save options.
SceneA scene is a top-level object that contains the nodes, geometries, materials, textures, animation, poses, sub-scenes and etc.
SceneObjectThe root class of objects that will be stored inside a scene.
Segmentقطعة في منحنى مركب.
SemanticAttributeSemanticAttribute.SemanticAttribute creates a new attribute with the specified vertex field semantic.
Shapeيشير الشكل إلى التشوه على مجموعة من نقاط التحكم، وهو مشابه للتشويش العنقودي في مايا.
SkeletonThe Skeleton is mainly used by CAD software to help designer to manipulate the transformation of skeletal structure, it’s usually useless outside the CAD softwares.
SkinDeformerيحتوي المُشوه على عدة عظام للعمل، كلّ عظمة تخلط جزء من الهندسة بواسطة أوزان نقطة التحكم.
SphereParameterized sphere.
StlLoadOptionsLoad options for STL format.
StlSaveOptionsSave options for STL format.
SweptAreaSolidA SweptAreaSolid constructs a geometry by sweeping a profile along a directrix.
Textureهذه الطبقة تعرّف النسيج من ملف خارجي.
TextureBaseالطبقة الأساسية لجميع نسيج الخرسانة.
TextureSlotفتحة النسيج في المادة، يمكن إدراجها من خلال مثال مادي.
TorusParameterized torus.
Transformتحتوي التحول على معلومات تسمح بالوصول إلى مصفوفة الترجمة / الحجم / الدوران أو التحويل للجسم بتكلفة أدنى. يستخدم هذا من خلال التغيير المحلي.
TransformBuilderTransformBuilder lets developers compose, prepend, or append transformation matrices with a selectable composition order, simplifying complex object placement.
TransformedCurveA TransformedCurve gives a curve a placement by using a transformation matrix.
TriMeshA TriMesh contains raw data that can be used by GPU directly.
TrialExceptionTrial exception.
TrimmedCurveمنحنى محدد يقطع المنحني الأساسي في كلا الطرفين.
VertexVertex.ReadVector3(field) reads a 3‑component vector from the specified vertex field, enabling extraction of position data.
VertexDeclarationVertexDeclaration.VertexDeclaration creates a new, empty vertex declaration instance.
VertexElementBase class of vertex elements A vertex element type is identified by VertexElementType.
VertexElementBinormalVertexElementBinormal.VertexElementBinormal() creates a new instance with default mapping and reference modes.
VertexElementDoublesTemplateفئة مساعدة لتحديد التطبيقات الملموسة.
VertexElementEdgeCreaseDefines the edge crease for specified components.
VertexElementFVectorفئة مساعدة لتحديد التطبيقات الملموسة.
VertexElementHoleDefines if specified polygon is hole.
VertexElementIntsTemplateفئة مساعدة لتحديد التطبيقات الملموسة.
VertexElementMaterialVertex element with material index.
VertexElementNormalVertexElementNormal.VertexElementNormal(mappingMode, referenceMode) creates a new VertexElementNormal using the given mapping and reference modes.
VertexElementPolygonGroupيحدد مجموعة متعددة الأبعاد للمكونات المحددة لجميع معظمها.
VertexElementSmoothingGroupA smoothing group is a group of polygons in a polygon mesh which should appear to form a smooth surface.
VertexElementSpecularيحدد اللون المُنظّر للمكونات المحددة.
VertexElementTangentVertexElementTangent.Tangents provides a list of Vector4 objects representing per‑vertex tangent data.
VertexElementTemplateفئة مساعدة لتحديد التطبيقات الملموسة.
VertexElementUVVertex element with UV coordinates.
VertexElementUserDataDefines custom user data for specified components.
VertexElementVertexColorVertex element with vector data (normals, tangents, etc.) /// /// Vertex element with color data.
VertexElementVertexCreaseDefines the vertex crease for specified components.
VertexElementVisibilityDefines if specified components is visible.
VertexElementWeightيحدد وزن الخليط للمكونات المحددة.
VertexFieldVertexField class lets developers define a vertex field by specifying data type, semantic, index, alias, offset, and size, and provides hashing, equality, and comparison operations.
WatermarkWatermark utilities enable embedding and extracting text watermarks in 3D files, with optional password protection and permanence.

الهندسة والشبكة

InterfaceDescription
IArrayListAspose.3D has its own highly optimized implementation of List{T} for better loading/saving performance Only this interface is exposed for user with IList{T} compatible and similar interfaces.
IIndexedVertexElementVertexElement with indices data.
IMeshConvertibleEntities that implemented this interface can be converted to mesh.
INamedObjectObject that has a name.
IOrientableيجب على الكيانات القابلة للتوجيه تنفيذ هذا الواجهة.

بدائيات متأصلة

StructDescription
BoundingBoxThe axis-aligned bounding box.
BoundingBox2DBoundingBox2D.BoundingBox2D initializes a new 2‑D bounding box with the specified minimum and maximum vectors.
EndPointالنقطة النهائية لتقليم المنحنى، يمكن أن تكون قيمة المعلم أو نقطة كارتزية.
FMatrix4FMatrix4.FMatrix4 creates a matrix from 16 float values representing each element.
FVector2FVector2.FVector2 creates a 2‑D vector with the given x and y float components.
FVector3Represents a 3D vector.
FVector4FVector4.FVector4(x:float, y:float, z:float, w:float) creates a 4‑D vector with given x, y, z, w values.
Matrix4Matrix4.Matrix4 constructs a 4x4 matrix from the 16 supplied float components.
QuaternionA quaternion is usually used to represent a rotation in 3D space.
RectRect represents a rectangle with position and size, offering a Contains method to test whether a point lies inside it.
RelativeRectangleRelativeRectangle.RelativeRectangle creates a rectangle with given left, top, width, height offsets.
Vector2Vector2.Vector2 creates a vector with both components set to the given scalar.
Vector3فئة Vector3 توفر رياضيات متجه ثلاثية الأبعاد الكاملة، بما في ذلك نسبة النقاط والنسبة المتعددة، والتطبيع، وحساب الزاوية بين الاتجاهات.
Vector4Vector4.Vector4 creates a vector from a Vector3 and a double w component.

التحول والمساحة

EnumerationDescription
AlphaSourceيحدد ما إذا كانت النسيج تحتوي على قناة ألفا.
ApertureModeCamera aperture modes.
AxisAxis.
AxisAxis.XAxis represents the X axis direction.
BoneLinkModeيشير وضع ربط العظام إلى الطريقة التي يتم بها توصيل العظم أو ارتباطه بعظمه الأساسي داخل هيكل هرمي.
BooleanOperationMesh’s Boolean operation.
BoundingBoxExtentمدى مربع الحدود.
ColladaTransformStyleThe node’s transformation style of node.
ComposeOrderترتيب تكوين مصفوفة التحويلات.
CoordinateSystemCoordinate system.
CurveDimensionأبعاد المنحنيات.
DracoCompressionLevelCompression level for draco file.
ExtrapolationTypeExtrapolation type.
FileContentTypeFile content type.
InterpolationThe key frame’s interpolation type.
LightTypeLight types.
MappingModeMapping mode.
NurbsTypeNURBS types.
PatchDirectionTypePatch direction’s types.
PdfLightingSchemeLightingScheme specifies the lighting to apply to 3D artwork.
PdfRenderModeوضع الرندر يحدد الأسلوب الذي يتم فيه إصدار العمل الفني ثلاثي الأبعاد.
ProjectionTypeCamera’s projection types.
PropertyFlagsProperty flags.
ReferenceModeReference mode.
RotationModeThe frustum’s rotation mode.
RotationOrderيسيطر الترتيب على أي rx ry rz يتم تطبيقها في مصفوفة التحويل.
SkeletonTypeSkeleton type.
SplitMeshPolicySplit mesh policy.
StepModeStepMode.PREVIOUS_VALUE represents stepping to the previous value in a sequence.
TextureFilterخيارات التصفية أثناء أخذ العينات من النسيج.
TextureMappingTexture mapping.
VertexElementTypeVertex element type.
VertexFieldDataTypeVertex field’s data type.
VertexFieldSemanticالجملة العلمية لمجال القمة.
WeightedModeWeightedMode enum describes how vertex weights are applied, supporting None, OutWeight, NextInWeight, and Both.
WrapModeTexture’s wrap mode.

المواد والظلال

الفئةوصف
Materialفئة أساسية مجردة لجميع أنواع المواد. توفر اسم ومجموعة من الخصائص.
LambertMaterialمادة كلاسيكية فقط للانتشار مع: Ambient, Diffuse, Emissive, Reflective, Transparency,، و Texture خصائص. مساحة الأسماء: Aspose.ThreeD.Shading.
PhongMaterialتمدد لامبرت مع Specular, Shininess,، و SpecularPower خصائص. مساحة الأسماء: Aspose.ThreeD.Shading.
PbrMaterialمادة التصوير المستندة إلى الفيزيائيين مع BaseColor, Metallic, Roughness, Occlusion, و خصائص فتحة النسيج. مساحة الأسماء: Aspose.ThreeD.Shading.

الكاميرا

الفئةوصف
Cameraكيان الكاميرا، ورث من Frustum.مرفقاً بـ … Node لا يتم عرض أي خصائص محددة للشكل في هذه الطبعة.

أدوات رياضيات

الفئةوصف
Vector2دقة مزدوجة 2-component vector (lowercase fields: x, y) مساحة الأسماء: Aspose.ThreeD.Utilities.تستخدم لترتيبات البنفسجية فوق البحر.
Vector3دقة مزدوجة 3-component vector (lowercase fields: x, y, z) مساحة الأسماء: Aspose.ThreeD.Utilities.المتجه المكاني للاغراض العامة في الهندسة.
Vector4دقة مزدوجة 4-component vector (lowercase fields: x, y, z, w) مساحة الأسماء: Aspose.ThreeD.Utilities.يستخدم في: Mesh.ControlPoints والبيانات الطبيعية.
FVector3متجه عابر ذو 3 مكونات دقيق واحد (حقول كبيرة: X, Y, Z) المستخدم من قبل: Transform.Translation و Transform.Scale.
FVector4متجه عابر ذو دقة واحدة من 4 مكونات (حقول كبيرة: X, Y, Z, W).
Quaternionوحدة الكواترنيون لتمثيل الدوران (W, X, Y, Z) المستخدم من قبل: Transform.Rotation.
Matrix44x4 transformation matrix. Used for world/local transform computations and by GlobalTransform.Matrix.
BoundingBoxمربع تحديد متوافق مع المحور يحدده: Minimum و Maximum (أوباما)FVector3 الزوايا.

الرسوم المتحركة

الفئةوصف
AnimationClipحاوية مسمّى لمجموعة من الرسوم المتحركة. A Scene قد تحتوي على عدة مقاطع. عقدة الإعلان بيانات الإطار الرئيسي وتشغيل لا يتم تنفيذها بعد.

صيغة إدخال/إخراج

الرمزوصف
Scene.Open(path)يفتح ملف، ويكشف عن الصيغة من الإضافة، ويملأ المشهد.
Scene.Open(path, options)يفتح ملف مع صيغة محددة LoadOptions.
Scene.Open(stream)يفتح من التدفق، ويكشف تلقائياً عن الصيغة من المحتوى.
Scene.Open(stream, options)يفتح من تيار مع صيغة محددة LoadOptions.
Scene.Save(path)يحفظ المشهد إلى ملف؛ تنسيق استنتاج من التوسع.
Scene.Save(path, options)تخزينات مع صيغة محددة SaveOptions.
Scene.Save(stream, options)يحفظ إلى تيار مع صيغة محددة SaveOptions.
FileFormatسجل تنسيقات الملف المدعومة. استخدام FileFormat.Formats (إنه IList<FileFormat>) لتحديد جميع الصيغ المدعومة، أو FileFormat.Detect(fileName) للكشف عن تنسيق باسم الملف. الثوابت المسماة (ObjFormat, GltfFormat, FbxFormat,، الخ) هي internal و ليس متاح من رمز المستخدم.
IOServiceتجريد الدخول والإخراج الداخلي. يوفر DetectFormat() للكشف عن الصيغة القائمة على التدفق.
LoadOptionsفئة أساسية لخيارات التحميل الخاصة بالشكل.
SaveOptionsفئة أساسية لخيارات حفظ محددة للشكل.

صيغة OBJ

الفئةوصف
ObjLoadOptionsخيارات تحميل ملفات Wavefront OBJ.
ObjSaveOptionsحفظ الخيارات لخروج Wavefront OBJ.

صيغة STL

الفئةوصف
StlLoadOptionsخيارات تحميل ملفات STL.
StlSaveOptionsحفظ خيارات للخروج STL.

صيغة glTF

الفئةوصف
GltfLoadOptionsخيارات التحميل لملفات glTF 2.0 و GLB.
GltfSaveOptionsخيارات حفظ للخروج glTF 2.0 و GLB. لا يتم عرض خصائص محددة للتنسيق في هذا الإصدار؛ استخدام .glb الإضافة للخروج الثنائي.

صيغة FBX

الفئةوصف
FbxLoadOptionsخيارات تحميل ملفات FBX.
FbxSaveOptionsحفظ خيارات للخروج FBX. تصدير FBx دائماً ينتج الخروج الثنائي، الصادرة ASCII FB X غير نشطة في هذا الإصدار.

3MF Format

الفئةوصف
TmfLoadOptionsخيارات التحميل لملفات 3MF.
TmfSaveOptionsحفظ الخيارات للخروج 3MF.

إحصاءات

إحصاءاتوصف
FileContentTypeوصف نوع المحتوى: ASCII, Binary.متاح كممتلكات في FileFormat.
Axisيحدد محور إحداثيات: XAxis, YAxis, ZAxis.
CoordinateSystemيحدد اتفاقية التصرف اليدوي: RightHand أو LeftHand.

نظام الخصائص

الفئةوصف
Propertyخاصية واحدة مسمّى على النوع A3DObject.
PropertyCollectionجمع غير قابل للتكرار من: Property الأجسام المرتبطة بـ… A3DObject.

انظر أيضاً

 العربية