Aspose.3D FOSS for .NET

תיעוד API עבור Aspose.3D 26.1.0 (.NET 10.0+, רישיון MIT).

כל המחלקות נמצאות ב- 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.AnimationCanal יוצרת ערוץ אנימציה חדש ללא מטרה מסוימת.
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.
IOConfigקונפיגורציה של IO ל-serialisation/deserialization.
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חומר למודל צל של Lambert.
LicenseLicense management class (not available in FOSS version).
Lightהאור מאיר את הסצנה.
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החילוץ הליניארי לוקח צורה 2D ככניסה ומרחיב את הצורה בממד השלישי.
LoadOptionsBase class of load options.
Materialחומר מגדיר את הפרמטרים הדרושים להופעה חזותית של גיאומטריה.
MathUtilsMathUtils.CalcNormal מחושב את הטורניר הנורמלי של פוליגון מוגדר על ידי סדרה של נקודות Vector3.
MeshA mesh is made of many n-sided polygons.
Meteredמדרגה ניהול רישיונות ממוצעת (לא זמין בגרסה FOSS).
Microsoft3MFFormatדוגמה לתבנית קובץ עבור Microsoft 3MF עם תועלת הקשורה ל- 3mF.
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.
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.
SceneObjectכיתה השורש של אובייקטים שיוחסנו בתוך סצנה.
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.
SweptAreaSolidSweptAreaSolid בונה גיאומטריה על ידי שפיכה פרופיל לאורך רצועת יציאה.
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.
TriMeshTriMesh מכיל נתונים ירוקים שניתן להשתמש בהם ישירות על ידי GPU.
TrialExceptionTrial exception.
TrimmedCurveקיר מוגבל שמטריד את הקיר הבסיסי בשני הסוף.
VertexVertex.ReadVector3(field) reads a 3‑component vector from the specified vertex field, enabling extraction of position data.
VertexDeclarationVertexDeclaration.VertexDeclaration יוצר דוגמה חדשה, ריקה של הצהרת vertex.
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 עם נתוני אינדיקטורים.
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.
Rectרקט מייצג מלב עם מיקום וגודל, ומציע שיטה מכילה כדי לבדוק אם נקודה נמצאת בתוכו.
RelativeRectangleRelativeRectangle.Relative Rectangel יוצר ישר עם שמיעה שמאל, העליון, רוחב, גובה.
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.

טרנספורם ומרחב

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.
PhongMaterialמרחיב את Lambert עם 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וקטור צף בעל 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 פינות.

Methods

MethodsMethods
AnimationClipמכולה בשם לטווח אנימציה. A Scene יכול להכיל מספר קטעים. תבנית הצהרה — נתוני keyframe והפעלה עדיין לא מומשו.

קלט/פלט של פורמט

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 (an IList<FileFormat>) כדי למנות את כל הפורמטים הנתמכים, או FileFormat.Detect(fileName) כדי לזהות פורמט לפי שם קובץ. הקבועים בשם (ObjFormat, GltfFormat, FbxFormat, וכו’) הם internal ולא נגיש מקוד המשתמש.
IOServiceהפשטה פנימית של קלט/פלט. מספקת 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 תמיד מייצר פלט בינארי; ייצוא FBX בפורמט ASCII אינו פעיל בגרסה זו.

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.

ראה גם

 עברית