Enum CrateColoringMode
Selects how a ScyllaCrateShape maps its mesh quads onto resolver face indices. Geometry is identical in all modes; only the per-quad color assignment changes.
Namespace: Scylla.Core.Util.Geom
Assembly: ScyllaCore.dll
Syntax
public enum CrateColoringMode
Remarks
ScyllaCrateShape 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 CrateColoringMode value, not to individual quads or 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 crate: |
| PerSide | Six resolver indices, one per side, in the order |