FlairSettings
A class in Root.Township, Alta.Pages.
How a book's cover is decorated: flair meshes for the spine, spine face and edge face, materials, and one face mark (a glyph, an emblem or a letter).
- Listed in Items, inventory and logic
- Nested types
FrameMaterialMode
Constructors
| Member | What it is |
|---|---|
FlairSettings() | Creates a FlairSettings with default values. |
Fields
13 private and internal fields
| Member | What it is |
|---|---|
private FlairSet baseEdgeFace | Flair set whose edge face flairs are used when no override is set. |
private FlairSet baseSpine | Flair set whose spine flairs are used when no override is set. |
private FlairSet baseSpineFace | Flair set whose spine face flairs are used when no override is set. |
private Material bookMaterial | Material for the book body. |
private FaceEmblem emblem | Cover emblem, used when there is no glyph. |
private FaceEmblemFrame emblemFrame | Frame shown around the cover emblem, glyph or letter. |
private Material flairMaterial | Material for the flairs. |
private FlairSettings.FrameMaterialMode frameMaterialMode | Which material the emblem frame gets: its own, the book's or the flair one. |
private Glyph glyph | Cover glyph sprite. Takes priority over the emblem and letter. |
private char letter | Letter shown on the cover when there is no glyph or emblem. |
private EdgeFaceFlairs overrideEdgeFace | Edge face flairs that replace the base set's, slot by slot. |
private SpineFlairs overrideSpine | Spine flairs that replace the base set's, slot by slot. |
private SpineFaceFlairs overrideSpineFace | Spine face flairs that replace the base set's, slot by slot. |
Properties
| Member | What it is |
|---|---|
EdgeFaceFlairs BaseEdgeFace { get; } | Edge face flairs from the base flair set, or null if none is set. |
SpineFlairs BaseSpine { get; } | Spine flairs from the base flair set, or null if none is set. |
SpineFaceFlairs BaseSpineFace { get; } | Spine face flairs from the base flair set, or null if none is set. |
Material BookMaterial { get; } | Material for the book itself. |
FaceEmblem Emblem { get; } | Face emblem to show. Use a glyph, an emblem or a letter, not several. |
FaceEmblemFrame EmblemFrame { get; } | Frame around the face emblem. |
Material FlairMaterial { get; } | Material for the flair pieces. |
FlairSettings.FrameMaterialMode FrameMaterial { get; } | Where the frame's material comes from: unchanged, the book or the flair. |
Glyph Glyph { get; } | Glyph to show on the face. |
char Letter { get; } | Letter to show on the face. |
EdgeFaceFlairs OverrideEdgeFace { get; } | Edge face flairs that replace the base ones. |
SpineFlairs OverrideSpine { get; } | Spine flairs that replace the base ones. |
SpineFaceFlairs OverrideSpineFace { get; } | Spine face flairs that replace the base ones. |
Used in
Members of other types that take, return or hold a FlairSettings: