Enum RoundedBoxColoringMode
Selects how a ScyllaRoundedBoxShape maps its surface groups 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 RoundedBoxColoringMode
Remarks
ScyllaRoundedBoxShape uses per-region dispatch: it calls Resolve(int, int, Vector3) once per logical surface group and shares the returned color across every vertex of that group. The face index passed to the resolver corresponds to the surface group index defined by the active RoundedBoxColoringMode 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 |
|---|---|
| FrameAndPanels | Two resolver indices for the whole shape: |
| PerSurfaceGroup | Twenty-six resolver indices, one per surface group: the 6 flat panels take
|