Namespace PageCurl.Core

Classes

PageAnchorExtensions

Allocation-free conversions and positions for page anchors.

PageAspectLayout

Resolves a page ratio and fits it into a viewport.

PageBacksideMapping

Maps platform-neutral backside texture and lighting values.

PageChangeThresholdCrossedEventArgs

Raised when a drag enters or leaves page-change intent.

PageCurlGeometry

Builds a reusable, shaded developable page curl mesh.

PageCurlOptions

Options shared by the interaction controller and the mesh builder.

PageMeshBuffer

Reusable storage for the front and back triangle streams.

PageNavigationState

Tracks a bounded page index and exposes direction-aware navigation state. It is platform-free so a consuming application can keep navigation logic testable without referencing a UI framework.

PageSpreadNavigationState

Tracks two-page spreads with one shared completion path.

PageTurnCompletedEventArgs

Raised once when a release animation reaches its endpoint.

PageTurnController

Tracks a finger drag and settles it to the nearest page endpoint using a critically damped spring. It has no UI or platform dependencies.

PageTurnFeedbackPolicy

Maps page-turn semantics to platform-independent feedback cues.

PageTurnPointerCapture

Owns one pointer for the duration of a page gesture so another finger cannot move or release the active turn.

Structs

CurlPose

The geometry state consumed by a renderer for one frame.

MeshVertex

A position, UV and lighting value for one mesh vertex.

PageBacksideSample

The texture and shade decision for one backside mesh vertex.

PageTurnSnapshot

A read-only snapshot of the page turn controller.

PageViewportRect

A reusable content rectangle inside a renderer viewport.

Enums

PageAnchor

A stationary page edge, pinned corner, or automatic selection.

PageBacksideMode

Controls how a turned page presents its underside.

PageEdge

The physical edge that anchors or starts a page curl.

PageHorizontalPlacement
PageTurnDirection

The edge from which a page turn started.

PageTurnFeedbackPattern
PageTurnState

The interaction/animation phase of a page turn.