Aspose.3D FOSS for .NET

مرجع API برای Aspose.3D 26.1.0 (.NET 10.0+، MIT license).

تمام کلاس‌ها در Aspose.ThreeD فضای نام ریشه. دستور using ریشه به این صورت است:

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) هستند دقت تک‌نقطه (float) با حروف بزرگ فیلدهای عمومی (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یک الیپس مجموعه ای از نقاط را تعریف می کند که شکل الیسپ را تشکیل می دهند.
Entityکلاس پایه تمام موجودیت ها.
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کلاس پایه تمام اشیاء هندسی قابل نمایش (مانند Mesh، Box، Cylinder و غیره).
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 برای سریالیزاسیون/دسرالیزاسیونی تنظیم شده است.
IOExtensionIOExtension.Write ارزش Matrix4 را به 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).
Lightنور صحنه رو روشن ميکنه.
Lineیک پلی خط مسیر است که توسط مجموعه ای از نقاط با بخش ها تعریف شده و به وسیله ی لبه های متصل می شود، این بدان معنی است كه همچنین می تواند مجموعه هایی از قطعات خطوط مرتبط باشد.
LinearExtrusionخروجی خطی یک شکل دو بعدی را به عنوان ورودی می گیرد و این شکل در بعد سوم گسترش می یابد.
LoadOptionsBase class of load options.
Materialماده پارامترهای لازم برای ظاهر بصری هندسه را تعریف می کند.
MathUtilsMathUtils.CalcNormal محاسبه وکتور طبیعی یک پلیگون تعریف شده توسط مجموعه ای از نقاط Vector3 است.
MeshA mesh is made of many n-sided polygons.
Meteredکلاس مدیریت مجوز اندازه گیری شده (در نسخه FOSS در دسترس نیست).
Microsoft3MFFormatنمونه ی فرمت فایل برای مایکروسافت 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.
Nodeنمایانگر یک عنصر در نمودار صحنه است.
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.
NurbsSurfaceیک سطح است که توسط NURBS نمایش داده می شود ((شکل های غیر واحد پایه منطقی) ، A با دو و تعریف شده است.
ObjLoadOptionsLoad options for Wavefront OBJ format.
ObjSaveOptionsSave options for Wavefront OBJ format.
ParseExceptionParseException.ParseException creates a new ParseException with the provided error message.
PatchA یک سطح مدل سازی پارامتر است، مشابه به , همچنین توسط دو تعریف شده است, و .
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.
SceneObjectکلاس ریشه اشیا که در یک صحنه ذخیره می شوند.
Segmentیک بخش در منحنی ترکیبی.
SemanticAttributeSemanticAttribute.SemanticAttribute creates a new attribute with the specified vertex field semantic.
Shapeشکل بیانگر تغییر شکل در مجموعه ای از نقاط کنترل است که مشابه تغییر اشکال خوشه ای در مایاست.
Skeletonاسکلتون عمدتا توسط نرم افزار CAD برای کمک به طراح در دستکاری تغییر ساختار اسکلتی استفاده می شود، معمولاً خارج از نرم افزارهای CAD بی فایده است.
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تعریف گروه چند لبه برای اجزای مشخص شده به گروه های مرتبط با چند لیسانس.
VertexElementSmoothingGroupیک گروه صاف کننده گروهی از چند لبه در یک شبکه چندلبه است که باید ظاهرا سطح مسطح را تشکیل دهد.
VertexElementSpecularDefines specular color for specified components.
VertexElementTangentVertexElementTangent.Tangents provides a list of Vector4 objects representing per‑vertex tangent data.
VertexElementTemplateیک کلاس کمک کننده برای تعریف پیاده سازی های مشخص.
VertexElementUVVertex element with UV coordinates.
VertexElementUserDataداده های کاربر سفارشی برای اجزای مشخص تعریف می کند.
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.
VertexElementWeightDefines blend weight for specified components.
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.
Watermarkقابلیت های Watermark امکان قرار دادن و استخراج علائم متن در فایل های 3D را با حفاظت رمز عبور اختیاری و پایداری فراهم می کند.

هندسه و مش

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.
IIndexedVertexElementبا اطلاعات شاخصی .
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 یک مستطیل با موقعیت و اندازه را نشان می دهد، که روش شامل آن برای آزمایش اینکه آیا نقطه ای در داخل آن قرار دارد.
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 ریاضیات کامل 3D وکتور را شامل محصول نقطه ای، محصول متقابل، عادی سازی و محاسبات زاویه بین جهت ها می کند.
Vector4Vector4.Vector4 creates a vector from a Vector3 and a double w component.

Transform و Spatial

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.
Interpolationنوع ترشح فریم کلیدی است.
LightTypeLight types.
MappingModeMapping mode.
NurbsTypeNURBS types.
PatchDirectionTypePatch direction’s types.
PdfLightingSchemeLightingScheme مشخص می کند که چراغ برای کارهای هنری 3D اعمال می شود.
PdfRenderModeحالت رندر مشخص می کند که در چه سبک 3D هنری به نمایش گذاشته می شود.
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در زمینه ی Vertex.
WeightedModeWeightedMode enum describes how vertex weights are applied, supporting None, OutWeight, NextInWeight, and Both.
WrapModeTexture’s wrap mode.

مواد و سایه‌زنی

MethodsMethods
Materialکلاس پایهٔ انتزاعی برای تمام انواع مواد. یک نام و یک مجموعهٔ ویژگی‌ها را فراهم می‌کند.
LambertMaterialجنس کلاسیک فقط پخش‌کننده با Ambient, Diffuse, Emissive, Reflective, Transparency, و Texture ویژگی‌ها. فضای‌نام: Aspose.ThreeD.Shading.
PhongMaterialLambert را گسترش می‌دهد Specular, Shininess, و SpecularPower ویژگی‌ها. فضای‌نام: Aspose.ThreeD.Shading.
PbrMaterialجنس رندرینگ مبتنی بر فیزیک با BaseColor, Metallic, Roughness, Occlusion, و ویژگی‌های اسلات بافت. فضای نام: Aspose.ThreeD.Shading.

Methods

MethodsMethods
Cameraموجودیت دوربین. ارث‌بری از Frustum. متصل به یک Node برای تعریف تبدیل‌های نقطه‌نظر. هیچ ویژگی خاص فرمت در این نسخه نمایش داده نمی‌شود.

ابزارهای ریاضی

MethodsMethods
Vector2دقت دوگانه 2-component vector (lowercase fields: x, y). فضای نام: Aspose.ThreeD.Utilities. برای مختصات بافت UV استفاده می‌شود.
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بردار شناور تک‌دقت ۴ مؤلفه‌ای (فیلدهای بزرگ: 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 گوشه‌ها.

Methods

MethodsMethods
AnimationClipمحفظه‌ای نام‌گذاری‌شده برای یک بازهٔ انیمیشن. A Scene ممکن است چندین کلیپ را در خود داشته باشد. قالب اعلان — داده‌های فریم کلیدی و پخش هنوز پیاده‌سازی نشده‌اند.

ورودی/خروجی فرمت

MethodsMethods
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انتزاع داخلی I/O. ارائه می‌دهد DetectFormat() برای تشخیص قالب مبتنی بر جریان.
LoadOptionsکلاس پایه برای گزینه‌های بارگیری مخصوص قالب.
SaveOptionsکلاس پایه برای گزینه‌های ذخیره‌سازی مخصوص قالب.

فرمت OBJ

MethodsMethods
ObjLoadOptionsگزینه‌های بارگذاری برای فایل‌های Wavefront OBJ.
ObjSaveOptionsگزینه‌های ذخیره‌سازی برای خروجی Wavefront OBJ.

فرمت STL

MethodsMethods
StlLoadOptionsگزینه‌های بارگذاری برای فایل‌های STL.
StlSaveOptionsگزینه‌های ذخیره‌سازی برای خروجی STL.

فرمت glTF

MethodsMethods
GltfLoadOptionsگزینه‌های بارگذاری برای فایل‌های glTF 2.0 و GLB.
GltfSaveOptionsگزینه‌های ذخیره‌سازی برای خروجی glTF 2.0 و GLB. هیچ ویژگی خاص فرمت در این نسخه نمایش داده نمی‌شود؛ از .glb افزونه برای خروجی باینری.

فرمت FBX

MethodsMethods
FbxLoadOptionsگزینه‌های بارگذاری برای فایل‌های FBX.
FbxSaveOptionsگزینه‌های ذخیره‌سازی برای خروجی FBX. خروجی FBX همیشه خروجی باینری تولید می‌کند؛ خروجی ASCII FBX در این نسخه فعال نیست.

3MF Format

MethodsMethods
TmfLoadOptionsگزینه‌های بارگذاری برای فایل‌های 3MF.
TmfSaveOptionsگزینه‌های ذخیره برای خروجی 3MF.

Methods

MethodsMethods
FileContentTypeتوصیف‌کننده نوع محتوا: ASCII, Binary. در دسترس به عنوان یک ویژگی در FileFormat.
Axisمحور مختصات را شناسایی می‌کند: XAxis, YAxis, ZAxis.
CoordinateSystemقواعد جهت‌گیری را مشخص می‌کند: RightHand یا LeftHand.

سیستم ویژگی‌ها

MethodsMethods
Propertyیک ویژگی تک‌نام‌دار با نوع بر روی یک A3DObject.
PropertyCollectionمجموعه قابل تکرار از Property اشیائی که به یک A3DObject.

موارد مرتبط

 فارسی