Show / Hide Table of Contents

Struct MeshUtils.Face

References a slice of indices for a face.

Implements
IReadOnlyList<int>
IReadOnlyCollection<int>
IEnumerable<int>
IEnumerable
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
Namespace: Sylves
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
Type Description
int

Indices

Declaration
public int[] Indices { get; set; }
Property Value
Type Description
int[]

InvertWinding

Declaration
public bool InvertWinding { get; set; }
Property Value
Type Description
bool

this[int]

Declaration
public int this[int i] { get; }
Parameters
Type Name Description
int i
Property Value
Type Description
int

Length

Declaration
public int Length { get; set; }
Property Value
Type Description
int

NegateTail

Declaration
public bool NegateTail { get; }
Property Value
Type Description
bool

Offset

Declaration
public int Offset { get; set; }
Property Value
Type Description
int

Methods

GetEnumerator()

Declaration
public IEnumerator<int> GetEnumerator()
Returns
Type Description
IEnumerator<int>

GetFaceVertexPairs(Vector3[])

Declaration
public IEnumerable<(Vector3, Vector3)> GetFaceVertexPairs(Vector3[] vertices)
Parameters
Type Name Description
Vector3[] vertices
Returns
Type Description
IEnumerable<(Vector3, Vector3)>

GetFaceVertices(Vector3[])

Declaration
public IEnumerable<Vector3> GetFaceVertices(Vector3[] vertices)
Parameters
Type Name Description
Vector3[] vertices
Returns
Type Description
IEnumerable<Vector3>

Implements

IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
In this article
Back to top Generated by DocFX