collapse_all
expand_all
collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++     dropdown Members: Show All Members: Filtered Members: Filtered Members: Filtered

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++

[TCheckBoxFormControlObj]Include Protected Members

[TCheckBoxFormControlObj]
Include Inherited Members
DPSF API Documentation
ParticleSystemManager Properties
gradient
The
ParticleSystemManager type exposes the following members.

collapse_allProperties

 

Name

Description

pubproperty

Enabled

Get / Set if the Particle Systems should be Updated or not.

pubproperty

ParticleSystems

Returns a Linked List of handles to the Particle Systems in this Manager

pubproperty

ParticleSystemsInheritDrawableGameComponent

Get if the Particle Systems are inheriting from DrawableGameComponent or not

pubproperty

SimulationSpeed

Get / Set how fast the Particle System Simulations should run.

Example: 1.0 = normal speed, 0.5 = half speed, 2.0 = double speed.

NOTE: This sets the SimulationSpeed property of each individual Particle System in this Manager to the given value. It will also set a particle system's Simulation Speed when the particle system is re-initialized, and when a new Particle System is added to the Manager in the future.

NOTE: Setting this property only has an effect if the SimulationSpeedIsEnabled property is true.

NOTE: This will be set to zero if a negative value is specified.

pubproperty

SimulationSpeedIsEnabled

Get / Set if the Particle System Manager's SimulationSpeed property should be used for each of the particle systems it contains or not.

Default value is true.

pubproperty

TotalNumberOfActiveParticles

Get the cumulative Number Of Active Particles of all Particle Systems in this Manager

pubproperty

TotalNumberOfParticlesAllocatedInMemory

Get the cumulative Max Number Of Particles allocated in memory by all Particle Systems in the Manager.

pubproperty

TotalNumberOfParticlesBeingDrawn

Get the cumulative Number Of Particles Being Drawn by all Particle Systems in this Manager. This is the total number of Active AND Visible Particles.

NOTE: This ignores whether the Manager is Visible or not.

pubproperty

TotalPerformanceTimeToDoDrawsInMilliseconds

Gets the cumulative time (in milliseconds) it took to perform the Draw() function on each particle system in this manager.

Note: Only particle systems that have their PerformanceProfilingIsEnabled property set to true will be included in this total.

pubproperty

TotalPerformanceTimeToDoUpdatesInMilliseconds

Gets the cumulative time (in milliseconds) it took to perform the Update() function on each particle system in this manager.

Note: Only particle systems that have their PerformanceProfilingIsEnabled property set to true will be included in this total.

pubproperty

UpdatesPerSecond

Get / Set how often the Particle Systems should be Updated.

NOTE: This sets the UpdatesPerSecond property of each individual Particle System in this Manager to the given value. It will also set a particle system's Updates Per Second when the particle system is re-initialized, and when a new Particle System is added to the Manager in the future.

NOTE: Setting this property only has an effect if the UpdatesPerSecondIsEnabled property is true.

NOTE: A value of zero means update the particle systems every time Update() is called.

NOTE: This will be set to zero if a negative value is specified.

pubproperty

UpdatesPerSecondIsEnabled

Get / Set if the Particle System Manager's UpdatesPerSecond property should be used for each of the particle systems it contains or not.

Default value is true.

pubproperty

Visible

Get / Set if this Particle Systems should be drawn or not.

NOTE: Setting this to false causes the particle systems' Draw() function to not be called, including the particle systems' BeforeDraw() and AfterDraw() functions.

collapse_allSee Also

ParticleSystemManager Class

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com