Class MeshPrimitive
Contents
[
Hide
]MeshPrimitive class
Geometry to be rendered with the given material.
public sealed class MeshPrimitive : ExtraProperties, IChildOf<Mesh>
Properties
Name | Description |
---|---|
DrawPrimitiveType { get; set; } | |
Extensions { get; } | Gets a collection of JsonSerializable instances. |
Extras { get; set; } | Gets or sets the extras content of this instance. |
IndexAccessor { get; set; } | |
LogicalIndex { get; } | Gets the zero-based index of this MeshPrimitive at Primitives . |
LogicalParent { get; } | Gets the Mesh instance that owns this MeshPrimitive instance. |
Material { get; set; } | Gets or sets the Material instance, or null. |
MorphTargetsCount { get; } | |
VertexAccessors { get; } |
Methods
Name | Description |
---|---|
GetBufferViews(bool, bool, bool) | |
GetExtension<T>() | |
GetIndexAccessor() | |
GetIndices() | Gets the raw list of indices of this primitive. |
GetLineIndices() | Decodes the raw indices and returns a list of indexed lines. |
GetMorphTargetAccessors(int) | |
GetPointIndices() | Decodes the raw indices and returns a list of indexed points. |
GetTriangleIndices() | Decodes the raw indices and returns a list of indexed triangles. |
GetVertexAccessor(string) | |
GetVertexAccessorsByBuffer(BufferView) | |
GetVertices(string) | |
RemoveExtensions<T>() | |
RemoveExtensions<T>(T) | |
SetExtension<T>(T) | |
SetIndexAccessor(Accessor) | |
SetMorphTargetAccessors(int, IReadOnlyDictionary<string, Accessor>) | |
SetVertexAccessor(string, Accessor) | |
UseExtension<T>() |
See Also
- class ExtraProperties
- interface IChildOf<TParent>
- class Mesh
- namespace Aspose.CAD.FileFormats.GLB
- assembly Aspose.CAD