Enum BarrelColoringMode
Selects how ScyllaBarrelShape maps its profile 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 BarrelColoringMode
Remarks
ScyllaBarrelShape 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 BarrelColoringMode 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 |
|---|---|
| LidsBeltAndBody | Three resolver indices for the whole barrel: |
| PerSection | Nine resolver indices, one per profile section in build order: bottom cap (0), lower chamfer (1), lower body (2), lower belt (3), middle body (4), upper belt (5), upper body (6), upper chamfer (7), top cap (8). Useful for visualizing the section decomposition and for design tools where every section should read as distinct. |