Home Reference Source
import FpsCounter from './core/cg/sg_fpscounter.js'
public class | source

FpsCounter

Extends:

cables-shared-client~Events → FpsCounter

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get
public

stats: {"ms": *, "fps": *}

Private Members
private

_fpsCounter: number

private

_frameCount: number

private

_msCounter: number

private

_timeStartFrame: number

private

Method Summary

Public Methods
public
public
public

Public Constructors

public constructor() source

Public Members

public get frameCount: * source

public stats: {"ms": *, "fps": *} source

Private Members

private _fpsCounter: number source

private _frameCount: number source

private _msCounter: number source

private _timeStartFrame: number source

private _timeStartSecond: number source

Public Methods

public endFrame() source

public endSecond() source

public startFrame() source