Interface IVertexMaterial
Contents
[
Hide
]IVertexMaterial interface
Represents the interface that must be implemented by a material vertex fragment.
public interface IVertexMaterial
Properties
| Name | Description |
|---|---|
| MaxColors { get; } | Gets the number of color attributes available in this vertex |
| MaxTextCoords { get; } | Gets the number of texture coordinate attributes available in this vertex |
Methods
| Name | Description |
|---|---|
| Add(ref VertexMaterialDelta) | |
| GetColor(int) | Gets a color attribute. |
| GetTexCoord(int) | Gets a UV texture coordinate attribute. |
| SetColor(int, Vector4) | Sets a color attribute. |
| SetTexCoord(int, Vector2) | Sets a UV texture coordinate attribute. |
| Subtract(IVertexMaterial) | calculates the difference between this vertex and baseValue |
Remarks
Implemented by:
And also by other custom vertex material fragment types.
See Also
- namespace Aspose.CAD.FileFormats.GLB.Geometry.VertexTypes
- assembly Aspose.CAD