Class GridSettings
Settings for the default grid layout. Grid dimensions are auto-computed from font size and available space.
Inherited Members
Namespace: Scylla.TextMode
Assembly: ScyllaTextMode.dll
Syntax
[Serializable]
public class GridSettings
Fields
DefaultFontSize
Default font size in logical pixels.
Declaration
[Tooltip("The default font size in logical pixels used to calculate cell dimensions. This value determines the height of each text grid cell. Larger values produce bigger cells and fewer visible rows.")]
[Range(1, 256)]
public float DefaultFontSize
Field Value
| Type | Description |
|---|---|
| float |
DefaultPixelsPerUnit
Default pixels-per-unit conversion factor for world-space rendering.
Declaration
[Tooltip("The pixels-per-unit conversion factor for world-space rendering. Higher values produce smaller cells in world space. This affects how the text grid maps onto 3D geometry and screen coordinates.")]
[Min(1)]
public float DefaultPixelsPerUnit
Field Value
| Type | Description |
|---|---|
| float |
DefaultViewHeight
Default view height in world units for world-space rendering.
Declaration
[Tooltip("The default viewport height in world units. Defines how many rows of text are visible vertically before scrolling is required. Adjust this to match your target screen aspect ratio and desired text density.")]
[Min(0.01)]
public float DefaultViewHeight
Field Value
| Type | Description |
|---|---|
| float |
DefaultViewWidth
Default view width in world units for world-space rendering.
Declaration
[Tooltip("The default viewport width in world units. Defines how many columns of text are visible horizontally before scrolling is required. Adjust this to match your target screen aspect ratio and desired text density.")]
[Min(0.01)]
public float DefaultViewWidth
Field Value
| Type | Description |
|---|---|
| float |