Last updated

API / geotoolkit3d / util / stats / Stats / Stats

Namespace: Stats

stats.Stats.Stats

Table of contents

Type Aliases

Contents

Type Aliases

Options

Ƭ Options: Object

Type declaration

NameTypeDescription
horizontal?booleanIf True, display the canvases on the X axis, false to align on vertical axis.
Default true
logsPerSecond?numberHow often to log performance data, in logs per second.
Default 20.
positionoffset?{ left?: number ; top?: number }Optional offset to manually position the panel using absolute positioning.
Values represent pixel offsets from the top-left corner of the canvas.
positionoffset.left?numberDistance in pixels from the left edge.
Default is 0.
positionoffset.top?numberDistance in pixels from the top edge.
Default is 0.
precision?numberPrecision of the data, in number of decimal places (only affects CPU and GPU milliseconds panels).
Default 2
samplesGraph?numberNumber of recent samples used to define the min/max range in the graph drawing.
Default 10.
samplesLog?numberNumber of recent samples gathered to compute the average and range values on the panel.
Default 100.