Struct MeshUtils.Face
References a slice of indices for a face.
Assembly: Sylves.dll
Syntax
public struct MeshUtils.Face : IReadOnlyList<int>, IReadOnlyCollection<int>, IEnumerable<int>, IEnumerable
Constructors
Face(int[], int, int, bool, bool)
Declaration
public Face(int[] indices, int offset, int length, bool invertWinding, bool negateTail = false)
Parameters
| Type |
Name |
Description |
| int[] |
indices |
|
| int |
offset |
|
| int |
length |
|
| bool |
invertWinding |
|
| bool |
negateTail |
|
Properties
Count
Declaration
public int Count { get; }
Property Value
Indices
Declaration
public int[] Indices { get; set; }
Property Value
InvertWinding
Declaration
public bool InvertWinding { get; set; }
Property Value
this[int]
Declaration
public int this[int i] { get; }
Parameters
| Type |
Name |
Description |
| int |
i |
|
Property Value
Length
Declaration
public int Length { get; set; }
Property Value
NegateTail
Declaration
public bool NegateTail { get; }
Property Value
Offset
Declaration
public int Offset { get; set; }
Property Value
Methods
GetEnumerator()
Declaration
public IEnumerator<int> GetEnumerator()
Returns
GetFaceVertexPairs(Vector3[])
Declaration
public IEnumerable<(Vector3, Vector3)> GetFaceVertexPairs(Vector3[] vertices)
Parameters
| Type |
Name |
Description |
| Vector3[] |
vertices |
|
Returns
GetFaceVertices(Vector3[])
Declaration
public IEnumerable<Vector3> GetFaceVertices(Vector3[] vertices)
Parameters
| Type |
Name |
Description |
| Vector3[] |
vertices |
|
Returns
Implements