SubDFaceList

References
All faces in a SubD

Properties

Count

#Since v7.0
public int Count { get; }
Gets the number of SubD faces.

HasPerFaceColors

#Since v8.18
public bool HasPerFaceColors { get; }
True if one or more faces on the active level have per face color overrides.
Remarks: Per face colors are a mutable property on SubDFace and are set with SubDFace.PerFaceColor.

Methods

Add

#Since v8.36
public SubDFace Add(IEnumerable<SubDEdge> edges)
Adds a face bounded by the given edges.
edges (IEnumerable<SubDEdge>)The edges of the new face, in order around its boundary. There must be at least three. Each edge is traversed according to its SubDComponent.ComponentDirection, so consecutive edges have to meet: the end vertex of one is the start vertex of the next. Set ComponentDirection on the edges before calling this to orient the loop.
The new face, or null if the edges do not form a usable boundary.

ClearPerFaceColors

#Since v8.18
[CLSCompliant(false)] public uint ClearPerFaceColors()
Removes all per face color overrides on the active level.
Remarks: Per face colors are a mutable property on SubDFace and are set with SubDFace.PerFaceColor.
Number of changed faces.

Find

#Since v7.0
public SubDFace Find(int id)
Find a face in this SubD with a given id
id (int)

Find

#Since v7.0
[CLSCompliant(false)] public SubDFace Find(uint id)
Find a face in this SubD with a given id
id (uint)

GetEnumerator

#Since v7.0
public IEnumerator<SubDFace> GetEnumerator()
Implementation of IEnumerable
Explicit

IEnumerable.GetEnumerator

#Since v7.0
IEnumerator IEnumerable.GetEnumerator()