Env particle performance monitor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Keyvalues: KV Targetname with "base=1". Its deprecated but KV_BaseEntity isn't getting a link to a page named "Full 'BaseEntity' KeyValues")
(-added class hierarchy, cleanup, entity template)
Line 1: Line 1:
{{lang|Env particle performance monitor}}
{{lang|Env particle performance monitor}}
{{base point|env_particle_performance_monitor}} It is used for turning on and off measuring and display of particle throughput.
{{CD|CParticlePerformanceMonitor|file1=sprite_perfmonitor.cpp}}
 
{{entity|type=e0|env_particle_performance_monitor}} It is used for turning on and off measuring and display of particle throughput.
{{code class|CParticlePerformanceMonitor|sprite_perfmonitor.cpp}}


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


==Inputs==
==Inputs==
Line 12: Line 11:
{{IO|StartMeasuring|Start measuring particle simulation speed.}}
{{IO|StartMeasuring|Start measuring particle simulation speed.}}
{{IO|StopMeasuring|Stop measuring particle simulation speed.}}
{{IO|StopMeasuring|Stop measuring particle simulation speed.}}
{{I BaseEntity}}
==Outputs==
{{O BaseEntity|l4d=1}}

Revision as of 17:51, 4 September 2023

English (en)中文 (zh)Translate (Translate)
C++ Class hierarchy
CParticlePerformanceMonitor
CPointEntity
CBaseEntity
C++ sprite_perfmonitor.cpp

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

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.