This article's documentation is for anything that uses the Source engine. Click here for more information.

Env particle performance monitor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
m (→‎Inputs: Substituted IO templates)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Env particle performance monitor}}{{CD|CParticlePerformanceMonitor|file1=sprite_perfmonitor.cpp}}
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Env particle performance monitor}}{{CD|CParticlePerformanceMonitor|file1=sprite_perfmonitor.cpp}}
{{this is a|name=env_particle_performance_monitor|e0}} It is used for turning on and off measuring and display of particle throughput.
{{this is a|point entity|name=env_particle_performance_monitor}} It is used for turning on and off measuring and display of particle throughput.


==Keyvalues==
==Keyvalues==
Line 6: Line 6:


==Inputs==
==Inputs==
{{IO|TurnOnDisplay|Turn on display of particle simulation benchmark.}}
{{I|TurnOnDisplay|Turn on display of particle simulation benchmark.}}
{{IO|TurnOffDisplay|Turn off display of particle simulation benchmark.}}
{{I|TurnOffDisplay|Turn off display of particle simulation benchmark.}}
{{IO|StartMeasuring|Start measuring particle simulation speed.}}
{{I|StartMeasuring|Start measuring particle simulation speed.}}
{{IO|StopMeasuring|Stop measuring particle simulation speed.}}
{{I|StopMeasuring|Stop measuring particle simulation speed.}}

Latest revision as of 10:52, 21 April 2025

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

env_particle_performance_monitor is a point entity available in all Source Source games. 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.