Table of Contents

Field pageUVWidth

Namespace
GrindFest
Assembly
GrindFest.dll

The U range [0..pageUVWidth] the page mesh UVs cover. EndlessBook's page mesh only uses ~80.4% of the texture width — the rest is never sampled. Setting this scales the page material so the entire RT fills the visible page area. Measure from the mesh: SubMesh UV U max = ~0.804.

[Tooltip("UV width fraction that the page mesh covers (0.804 for EndlessBook default). Scales the material so the full RT maps to the visible page area.")]
public float pageUVWidth

Returns

float
The U range [0..pageUVWidth] the page mesh UVs cover. EndlessBook's page mesh only uses ~80.4% of the texture width — the rest is never sampled. Setting this scales the page material so the entire RT fills the visible page area. Measure from the mesh: SubMesh UV U max = ~0.804.