Enum PipeSegmentColoringMode
Selects how ScyllaPipeSegmentShape maps its sections onto resolver face indices. Geometry is identical in all modes; only the per-vertex color assignment changes.
Namespace: Scylla.Core.Util.Geom
Assembly: ScyllaCore.dll
Syntax
public enum PipeSegmentColoringMode
Remarks
ScyllaPipeSegmentShape uses per-region dispatch: it calls Resolve(int, int, Vector3) once per logical color region and shares the returned color across every vertex of that region. The face index passed to the resolver corresponds to the region index defined by the active PipeSegmentColoringMode value, not to individual triangles.
When used with PaletteFaceColorResolver, the resolver face index is mapped to a palette entry according to the active FaceColoringMode.
Fields
| Name | Description |
|---|---|
| FlangesAndBody | Two resolver indices for the whole segment: |
| PerSection | Three resolver indices, one per section in build order: bottom flange (0), body (1), top flange (2). Useful for design tools where each flange should read as distinct. |