Env particle performance monitor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(dots)
(→‎Keyvalues: KV Targetname with "base=1". Its deprecated but KV_BaseEntity isn't getting a link to a page named "Full 'BaseEntity' KeyValues")
Line 5: Line 5:


==Keyvalues==
==Keyvalues==
{{KV BaseEntity|css=1}}
{{KV Targetname|base=1}}


==Inputs==
==Inputs==

Revision as of 04:33, 31 October 2021

English (en)中文 (zh)Translate (Translate)

Template:Base point It is used for turning on and off measuring and display of particle throughput.

C++ In code, it is represented by theCParticlePerformanceMonitorclass, defined in thesprite_perfmonitor.cppfile.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

TurnOnDisplay
Turn on display of particle simulation benchmark.
TurnOffDisplay
Turn off display of particle simulation benchmark.
StartMeasuring
Start measuring particle simulation speed.
StopMeasuring
Stop measuring particle simulation speed.


Outputs