Class IndexedMesh
public class IndexedMesh : Mesh, IDisposable
- Inheritance
-
IndexedMesh
- Implements
- Inherited Members
Constructors
IndexedMesh(string?, IEnumerable<Vertex>?, IEnumerable<Face>?, IEnumerable<Ngon>?, IEnumerable<Vector3>?, IEnumerable<Vector2>?, IEnumerable<Vector3>?, IEnumerable<Color4<Rgba>>?, IEnumerable<Bone>?)
public IndexedMesh(string? name = null, IEnumerable<Vertex>? vertices = null, IEnumerable<Face>? faces = null, IEnumerable<Ngon>? ngons = null, IEnumerable<Vector3>? positions = null, IEnumerable<Vector2>? textureCoordinates = null, IEnumerable<Vector3>? normals = null, IEnumerable<Color4<Rgba>>? vertexColors = null, IEnumerable<Bone>? bones = null)
Parameters
name
stringvertices
IEnumerable<Vertex>faces
IEnumerable<Face>ngons
IEnumerable<Ngon>positions
IEnumerable<Vector3>textureCoordinates
IEnumerable<Vector2>normals
IEnumerable<Vector3>vertexColors
IEnumerable<Color4<Rgba>>bones
IEnumerable<Bone>
Fields
bones
protected readonly List<Bone> bones
Field Value
faces
protected readonly List<Face> faces
Field Value
ngons
protected readonly List<Ngon> ngons
Field Value
normals
protected readonly List<Vector3> normals
Field Value
positions
protected readonly List<Vector3> positions
Field Value
textureCoordinates
protected readonly List<Vector2> textureCoordinates
Field Value
vertexColors
protected readonly List<Color4<Rgba>> vertexColors
Field Value
vertices
protected readonly List<Vertex> vertices
Field Value
Properties
Bones
List of bones in the _mesh.
public override IReadOnlyList<Bone> Bones { get; }
Property Value
Faces
The faces that form the _mesh.
public override IReadOnlyList<Face> Faces { get; }
Property Value
Ngons
The polygonal faces of a _mesh.
public override IReadOnlyList<Ngon> Ngons { get; }
Property Value
Normals
Normal vectors.
public override IReadOnlyList<Vector3> Normals { get; }
Property Value
Positions
Position vectors.
public override IReadOnlyList<Vector3> Positions { get; }
Property Value
TextureCoordinates
Texture coordinates of a _mesh.
public override IReadOnlyList<Vector2> TextureCoordinates { get; }
Property Value
VertexColors
Per-vertex color values.
public override IReadOnlyList<Color4<Rgba>> VertexColors { get; }
Property Value
Vertices
public override IReadOnlyList<Vertex> Vertices { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public override void Dispose()