Interface IMeshPrimitiveDecoder
Contents
[
Hide
]IMeshPrimitiveDecoder interface
Exposes an API to get geometry data from a mesh primitive
public interface IMeshPrimitiveDecoder
Properties
| Name | Description |
|---|---|
| ColorsCount { get; } | Gets a value indicating the number of color vertex attributes. In the range of 0 to 2. |
| JointsWeightsCount { get; } | Gets a value indicating the number of skinning joint-weight attributes. The values can be 0, 4 or 8. |
| LineIndices { get; } | Gets a sequence of tuples where each item represents the vertex indices of a line. |
| MorphTargetsCount { get; } | Gets a value indicating the total number of morph targets for this primitive. |
| TexCoordsCount { get; } | Gets a value indicating the number of texture coordinate vertex attributes. In the range of 0 to 2. |
| TriangleIndices { get; } | Gets a sequence of tuples where each item represents the vertex indices of a triangle. |
| VertexCount { get; } | Gets a value indicating the total number of vertices for this primitive. |
Methods
| Name | Description |
|---|---|
| GetColor(int, int) | Gets the color for the given vertex. |
| GetColorDeltas(int, int) | Gets the sequence of color deltas for the given vertex. (morph targets) |
| GetNormal(int) | Gets the normal for the given vertex. |
| GetNormalDeltas(int) | Gets the sequence of normals deltas for the given vertex. (morph targets) |
| GetPosition(int) | Gets the position for the given vertex. |
| GetPositionDeltas(int) | Gets the sequence of position deltas for the given vertex. (morph targets) |
| GetSkinWeights(int) | Gets the skin weights for the given vertex. |
| GetTangent(int) | Gets the tangent for the given vertex. |
| GetTangentDeltas(int) | Gets the sequence of tangent deltas for the given vertex. (morph targets) |
| GetTextureCoord(int, int) | Gets the UV coordinate for the given vertex. |
| GetTextureCoordDeltas(int, int) | Gets the sequence of texture coordinate deltas for the given vertex. (morph targets) |
Remarks
Implemented by _MeshPrimitiveDecoder
See Also
- namespace Aspose.CAD.FileFormats.GLB.Runtime
- assembly Aspose.CAD