Aspose.3D FOSS for .NET

API referansı için Aspose.3D 26.1.0 (.NET 10.0+, MIT lisansı).

Tüm sınıflar şurada bulunur Aspose.ThreeD kök ad alanı. Kök using yönergesi şudur:

using Aspose.ThreeD;

C# adlandırma kuralı: Tüm özellikler standart C# özellik sözdizimini kullanır. Örneğin, şunu kullanın scene.RootNode şunun yerine scene.getRootNode(), ve transform.Translation = ... şunun yerine transform.setTranslation(...).

Vektör alanı büyük/küçük harf düzeni: Kütüphane iki set vektör türüne sahiptir. Aspose.ThreeD.Utilities.Vector2/3/4 (kullanılan Mesh.ControlPoints, geometri ve çoğu matematik işlemi) dır çift duyarlıklı ile küçük harfli public alanlar (v.x, v.y, v.z, v.w). Daha basit Aspose.ThreeD.Vector2/3/4 yapılar (içinde Vector.cs) şunlardır tek duyarlıklı (float) ile büyük harf public alanlar (v.X, v.Y, v.Z). FVector2/3/4 ve Quaternion ve Matrix4 büyük harfli alan erişimini kullanın. Kullan Aspose.ThreeD.Utilities geometri çalışması için tipler.


Çekirdek Sahne Grafiği

ClassDescription
A3DObjectThe base class of all Aspose.ThreeD objects, all sub classes will support dynamic properties.
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.
AxisSystemAxis system is an combination of coordinate system, up vector and front vector.
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.
BoneA bone defines the subset of the geometry’s control point, and defined blend weight for each control point.
BooleanOperandThis class encapsulates the transformed mesh as Boolean operation’s operand.
BooleanOperatorClass with 12 methods and 9 properties.
BoxBox.
CameraThe camera describes the eye point of the viewer looking at the scene.
CircleA curve consists of a set of points in the edge of the circle shape.
ColladaSaveOptionsSave options for Collada format.
CompositeCurveA is consisting of several curve segments.
CurveThe base class of all curve implementations.
CustomObjectRepresents custom object data.
CylinderParameterized Cylinder.
DeformerBase class for and.
DishParameterized dish.
DracoFormatGoogle Draco format.
DracoSaveOptionsSave options for Google draco files.
EllipseAn Ellipse defines a set of points that form the shape of 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.
GeometryThe base class of all renderable geometric objects (like Mesh, Box, Cylinder and etc.).
GlobalTransformGlobal transform is similar to but it’s immutable while it represents the final evaluated transformation.
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.
LambertMaterialMaterial for lambert shading model.
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.
LinearExtrusionLinear extrusion takes a 2D shape as input and extends the shape in the 3rd dimension.
LoadOptionsBase class of load options.
MaterialMaterial defines the parameters necessary for visual appearance of geometry.
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.
MeteredMetered license management class (not available in FOSS version).
Microsoft3MFFormatFile format instance for Microsoft 3MF with 3MF related utilities.
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.
PbrMaterialMaterial for physically based rendering based on albedo color/metallic/roughness.
PdfFormatAdobe’s Portable Document Format.
PdfLoadOptionsOptions for PDF loading.
PdfSaveOptionsThe save options in PDF exporting.
PhongMaterialMaterial for blinn-phong shading model.
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.
PointCloudThe point cloud contains no topology information but only the control points and the vertex elements.
PolygonBuilderA helper class to build polygon for.
PolygonModifierPolygonModifier.Triangulate triangulates all faces of the supplied Mesh into triangles.
PosePose.
PrimitiveBase class for all primitives.
Profile2D Profile in xy plane.
PropertyClass to hold user-defined properties.
PropertyCollectionThe collection of properties.
PyramidParameterized pyramid.
RectangularTorusParameterized rectangular torus.
RevolvedAreaSolidThis class represents a solid model by revolving a cross section provided by a profile about an axis.
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.
SegmentA segment in composite curve.
SemanticAttributeSemanticAttribute.SemanticAttribute creates a new attribute with the specified vertex field semantic.
ShapeThe shape describes the deformation on a set of control points, which is similar to the cluster deformer in Maya.
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.
SkinDeformerA skin deformer contains multiple bones to work, each bone blends a part of the geometry by control point’s weights.
SphereParameterized sphere.
StlLoadOptionsLoad options for STL format.
StlSaveOptionsSave options for STL format.
SweptAreaSolidA SweptAreaSolid constructs a geometry by sweeping a profile along a directrix.
TextureThis class defines the texture from an external file.
TextureBaseBase class for all concrete textures.
TextureSlotTexture slot in Material, can be enumerated through material instance.
TorusParameterized torus.
TransformA transform contains information that allow access to object’s translate/scale/rotation or transform matrix at minimum cost This is used by local 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.
TrimmedCurveA bounded curve that trimmed the basis curve at both ends.
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.
VertexElementDoublesTemplateA helper class for defining concrete implementations.
VertexElementEdgeCreaseDefines the edge crease for specified components.
VertexElementFVectorA helper class for defining concrete implementations.
VertexElementHoleDefines if specified polygon is hole.
VertexElementIntsTemplateA helper class for defining concrete implementations.
VertexElementMaterialVertex element with material index.
VertexElementNormalVertexElementNormal.VertexElementNormal(mappingMode, referenceMode) creates a new VertexElementNormal using the given mapping and reference modes.
VertexElementPolygonGroupDefines polygon group for specified components to group related polygons together.
VertexElementSmoothingGroupA smoothing group is a group of polygons in a polygon mesh which should appear to form a smooth surface.
VertexElementSpecularDefines specular color for specified components.
VertexElementTangentVertexElementTangent.Tangents provides a list of Vector4 objects representing per‑vertex tangent data.
VertexElementTemplateA helper class for defining concrete implementations.
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.
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.
WatermarkWatermark utilities enable embedding and extracting text watermarks in 3D files, with optional password protection and permanence.

Geometri ve Mesh

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.
IOrientableOrientable entities shall implement this interface.

Yerleşik Primitifler

StructDescription
BoundingBoxThe axis-aligned bounding box.
BoundingBox2DBoundingBox2D.BoundingBox2D initializes a new 2‑D bounding box with the specified minimum and maximum vectors.
EndPointThe end point to trim the curve, can be a parameter value or a Cartesian point.
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.
Vector3The Vector3 class supplies full 3‑D vector mathematics, including dot product, cross product, normalization, and angle calculations between directions.
Vector4Vector4.Vector4 creates a vector from a Vector3 and a double w component.

Dönüşüm ve Uzaysal

EnumerationDescription
AlphaSourceDefines whether the texture contains the alpha channel.
ApertureModeCamera aperture modes.
AxisAxis.
AxisAxis.XAxis represents the X axis direction.
BoneLinkModeA bone’s link mode refers to the way in which a bone is connected or linked to its parent bone within a hierarchical structure.
BooleanOperationMesh’s Boolean operation.
BoundingBoxExtentThe extent of the bounding box.
ColladaTransformStyleThe node’s transformation style of node.
ComposeOrderThe order to compose transform matrix.
CoordinateSystemCoordinate system.
CurveDimensionThe dimension of the curves.
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.
PdfRenderModeRender mode specifies the style in which the 3D artwork is rendered.
ProjectionTypeCamera’s projection types.
PropertyFlagsProperty flags.
ReferenceModeReference mode.
RotationModeThe frustum’s rotation mode.
RotationOrderThe order controls which rx ry rz are applied in the transformation matrix.
SkeletonTypeSkeleton type.
SplitMeshPolicySplit mesh policy.
StepModeStepMode.PREVIOUS_VALUE represents stepping to the previous value in a sequence.
TextureFilterFilter options during texture sampling.
TextureMappingTexture mapping.
VertexElementTypeVertex element type.
VertexFieldDataTypeVertex field’s data type.
VertexFieldSemanticThe semantic of the vertex field.
WeightedModeWeightedMode enum describes how vertex weights are applied, supporting None, OutWeight, NextInWeight, and Both.
WrapModeTexture’s wrap mode.

Materyaller ve Gölgelendirme

MethodsMethods
MaterialTüm malzeme türleri için soyut temel sınıf. Bir ad ve bir özellik koleksiyonu sağlar.
LambertMaterialKlasik sadece difüz malzeme ile Ambient, Diffuse, Emissive, Reflective, Transparency, ve Texture özellikler. Namespace: Aspose.ThreeD.Shading.
PhongMaterialLambert’i şu ile genişletir Specular, Shininess, ve SpecularPower özellikler. Namespace: Aspose.ThreeD.Shading.
PbrMaterialPhysically Based Rendering malzemesi ile BaseColor, Metallic, Roughness, Occlusion, ve doku yuvası özellikleri. Namespace: Aspose.ThreeD.Shading.

Methods

MethodsMethods
CameraCamera varlığı. Şuradan miras alır Frustum. Şuna eklenir Node görüş noktası dönüşümlerini tanımlamak için. Bu sürümde format-özel özellikler ortaya çıkarılmamıştır.

Matematik Yardımcı Araçları

MethodsMethods
Vector2Çift duyarlıklı 2-component vector (lowercase fields: x, y). Ad alanı: Aspose.ThreeD.Utilities. UV doku koordinatları için kullanılır.
Vector3Çift duyarlıklı 3-component vector (lowercase fields: x, y, z). Ad alanı: Aspose.ThreeD.Utilities. Geometri için genel amaçlı uzaysal vektör.
Vector4Çift duyarlıklı 4-component vector (lowercase fields: x, y, z, w). Namespace: Aspose.ThreeD.Utilities. Kullanım amacı Mesh.ControlPoints ve normal veri.
FVector3Tek duyarlıklı 3 bileşenli float vektör (büyük harf alanları: X, Y, Z). Tarafından kullanılır Transform.Translation ve Transform.Scale.
FVector4Tek duyarlıklı 4 bileşenli kayan nokta vektörü (büyük harf alanları: X, Y, Z, W).
QuaternionDönüşleri temsil eden birim kuaternion (W, X, Y, Z). Kullanılan Transform.Rotation.
Matrix44x4 transformation matrix. Used for world/local transform computations and by GlobalTransform.Matrix.
BoundingBoxEksen hizalı sınırlayıcı kutu tanımlayan Minimum ve Maximum FVector3 köşeler.

Methods

MethodsMethods
AnimationClipAnimasyon aralığı için adlandırılmış kapsayıcı. A Scene birden fazla klip tutabilir. Deklarasyon taslağı — anahtar kare verileri ve oynatma henüz uygulanmadı.

Biçim G/Ç

MethodsMethods
Scene.Open(path)Bir dosya açar, uzantıdan formatı algılar ve sahneyi doldurur.
Scene.Open(path, options)Biçime özgü bir dosyayı açar LoadOptions.
Scene.Open(stream)Bir akıştan açar, formatı içerikten otomatik algılar.
Scene.Open(stream, options)Biçime özgü bir akıştan açar LoadOptions.
Scene.Save(path)Sahneyi bir dosyaya kaydeder; format uzantıdan tahmin edilir.
Scene.Save(path, options)Biçime özgü olarak kaydeder SaveOptions.
Scene.Save(stream, options)Biçime özgü bir akışa kaydeder SaveOptions.
FileFormatDesteklenen dosya formatlarının kaydı. Kullan FileFormat.Formats (an IList<FileFormat>) tüm desteklenen formatları listelemek için, ya da FileFormat.Detect(fileName) dosya adına göre bir formatı tespit etmek için. Adlandırılmış sabitler (ObjFormat, GltfFormat, FbxFormat, vb.) vardır internal ve kullanıcı kodundan erişilemez.
IOServiceDahili G/Ç soyutlaması. Sağlar DetectFormat() akış tabanlı format algılaması için.
LoadOptionsBiçime özgü yükleme seçenekleri için temel sınıf.
SaveOptionsBiçime özgü kaydetme seçenekleri için temel sınıf.

OBJ Biçimi

MethodsMethods
ObjLoadOptionsWavefront OBJ dosyaları için yükleme seçenekleri.
ObjSaveOptionsWavefront OBJ çıktısı için kaydetme seçenekleri.

STL Biçimi

MethodsMethods
StlLoadOptionsSTL dosyaları için yükleme seçenekleri.
StlSaveOptionsSTL çıktısı için kaydetme seçenekleri.

glTF Biçimi

MethodsMethods
GltfLoadOptionsglTF 2.0 ve GLB dosyaları için yükleme seçenekleri.
GltfSaveOptionsglTF 2.0 ve GLB çıktısı için kaydetme seçenekleri. Bu sürümde format‑özel özellikler sunulmaz; kullanın .glb binary çıktı için uzantı.

FBX Biçimi

MethodsMethods
FbxLoadOptionsFBX dosyaları için yükleme seçenekleri.
FbxSaveOptionsFBX çıktısı için kaydetme seçenekleri. FBX dışa aktarma her zaman ikili çıktı üretir; ASCII FBX dışa aktarma bu sürümde aktif değildir.

3MF Format

MethodsMethods
TmfLoadOptions3MF dosyaları için yükleme seçenekleri.
TmfSaveOptions3MF çıktısı için kaydetme seçenekleri.

Methods

MethodsMethods
FileContentTypeİçerik türü tanımlayıcısı: ASCII, Binary. Özellik olarak mevcut FileFormat.
AxisBir koordinat eksenini tanımlar: XAxis, YAxis, ZAxis.
CoordinateSystemEl yönlülüğü kuralını belirtir: RightHand veya LeftHand.

Özellikler Sistemi

MethodsMethods
PropertyBir nesne üzerindeki tek adlandırılmış tipli özellik A3DObject.
PropertyCollectionYinelemeli koleksiyon Property birine eklenmiş nesneler A3DObject.

Ayrıca Bakınız

 Türkçe