Click or drag to resize
Ab4d.SharpEngine logo

StandardMesh Class

StandardMesh is a TriangleMeshT that uses standard vertex format (PositionNormalTextureVertex) with position, normal and texture coordinates.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public class StandardMesh : TriangleMesh<PositionNormalTextureVertex>

The StandardMesh type exposes the following members.

Constructors
Methods
 NameDescription
Public methodDumpMeshInitializationCode Writes string in C# that defines the Vertices and TriangleIndices arrays for this mesh to the console (when the application is debugged in Visual Studio the result is written to Output window or Immediate Window if started from there; in Rider the result is written to Debug Output window).
Public methodGetMeshInitializationCode Returns a string in C# that defines the Vertices and TriangleIndices arrays for this mesh.
Top
See Also