API ReferenceGlobalsStats

# Class: Stats

# Hierarchy

  • Stats

# Index

# Properties

# Methods

# Properties

# REVISION

REVISION: number

Defined in packages/typings/stats.ts:8


# dom

dom: HTMLDivElement

Defined in packages/typings/stats.ts:9


# Static Panel

Panel: typeof Panel

Defined in packages/typings/stats.ts:10

# Methods

# addPanel

addPanel(panel: Panel): Panel

Defined in packages/typings/stats.ts:23

Parameters:

Name Type
panel Panel

Returns: Panel


# begin

begin(): void

Defined in packages/typings/stats.ts:17

Returns: void


# end

end(): number

Defined in packages/typings/stats.ts:19

Returns: number


# showPanel

showPanel(value: number): void

Defined in packages/typings/stats.ts:15

Parameters:

Name Type Description
value number 0:fps, 1: ms, 2: mb, 3+: custom

Returns: void


# update

update(): void

Defined in packages/typings/stats.ts:21

Returns: void