@simversus/yjvis • Docs
@simversus/yjvis / PerformanceMonitor
Class: PerformanceMonitor
记录渲染的性能数据
Constructors
new PerformanceMonitor()
new PerformanceMonitor():
PerformanceMonitor
Returns
Defined in
scene/PerformanceMonitor.ts:22
Properties
frameTime
frameTime:
number
一帧耗时,单位:ms
Defined in
scene/PerformanceMonitor.ts:20
lineNum
lineNum:
number
绘制线数量
Defined in
scene/PerformanceMonitor.ts:12
pointNum
pointNum:
number
绘制点数量
Defined in
scene/PerformanceMonitor.ts:8
triangleNum
triangleNum:
number
绘制三角形数量
Defined in
scene/PerformanceMonitor.ts:16
Methods
reset()
reset():
void
Returns
void
Defined in
scene/PerformanceMonitor.ts:26