Class Mesh
public abstract class Mesh : IDisposable
- Inheritance
-
Mesh
- Implements
- Derived
- Inherited Members
Fields
attributes
protected readonly Dictionary<string, object> attributes
Field Value
Properties
Attributes
Extra data that doesn't really mean much for me at the moment.
public IReadOnlyDictionary<string, object> Attributes { get; }
Property Value
Bones
List of bones in the _mesh.
public abstract IReadOnlyList<Bone> Bones { get; }
Property Value
Faces
The faces that form the _mesh.
public abstract IReadOnlyList<Face> Faces { get; }
Property Value
Name
The name of the _mesh, if any.
public string? Name { get; protected set; }
Property Value
Ngons
The polygonal faces of a _mesh.
public abstract IReadOnlyList<Ngon> Ngons { get; }
Property Value
Normals
Normal vectors.
public abstract IReadOnlyList<Vector3> Normals { get; }
Property Value
Positions
Position vectors.
public abstract IReadOnlyList<Vector3> Positions { get; }
Property Value
TextureCoordinates
Texture coordinates of a _mesh.
public abstract IReadOnlyList<Vector2> TextureCoordinates { get; }
Property Value
VertexColors
Per-vertex color values.
public abstract IReadOnlyList<Color4<Rgba>> VertexColors { get; }
Property Value
Vertices
public abstract IReadOnlyList<Vertex> Vertices { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public virtual void Dispose()
Triangulate(NgonTriangulation)
public void Triangulate(NgonTriangulation triangulation = NgonTriangulation.Ear)
Parameters
triangulation
NgonTriangulation