Class PageCurlOptions

Namespace
PageCurl.Core
Assembly
PageCurl.Core.dll

Options shared by the interaction controller and the mesh builder.

public sealed class PageCurlOptions
Inheritance
PageCurlOptions
Inherited Members

Constructors

PageCurlOptions()

public PageCurlOptions()

Fields

MaximumMeshCellCount

Maximum number of cells in a reusable page mesh.

public const int MaximumMeshCellCount = 16384

Field Value

int

Properties

FlickEnabled

Whether release velocity may override the page-change threshold.

public bool FlickEnabled { get; set; }

Property Value

bool

FlickVelocityThreshold

Normalized page-progress velocity required to recognize a flick.

public float FlickVelocityThreshold { get; set; }

Property Value

float

MeshColumns

Horizontal mesh resolution. The column/row product may not exceed MaximumMeshCellCount.

public int MeshColumns { get; init; }

Property Value

int

MeshRows

Vertical mesh resolution. The column/row product may not exceed MaximumMeshCellCount.

public int MeshRows { get; init; }

Property Value

int

PageChangeThreshold

Page-travel fraction at or above which release commits the turn.

public float PageChangeThreshold { get; set; }

Property Value

float

RadiusScale

Base cylinder radius as a fraction of page width.

public float RadiusScale { get; init; }

Property Value

float

SnapThreshold

Compatibility alias for PageChangeThreshold.

public float SnapThreshold { get; set; }

Property Value

float

SpringFrequency

Angular frequency used by the critically damped settle animation.

public float SpringFrequency { get; init; }

Property Value

float

TurnAcrossHinge

Turn a hinged sheet across the opposite page; progress spans twice the grab-to-hinge distance.

public bool TurnAcrossHinge { get; init; }

Property Value

bool