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


[TCheckBoxFormControlObj]Visual Basic

Visual C++
DPSF API Documentation


..InheritsDrawableGameComponent Property

Get if the Particle System is inheriting from DrawableGameComponent or not.

If inheriting from DrawableGameComponent, the Particle Systems are automatically added to the given Game object's Components and the Update() and Draw() functions are automatically called by the Game object when it updates and draws the rest of its Components. If the Update() and Draw() functions are called by the user anyways, they will exit without performing any operations, so it is suggested to include them anyways to make switching between inheriting and not inheriting from DrawableGameComponent seamless; just be aware that the updates and draws are actually being performed when the Game object is told to update and draw (i.e. when base.Update() and base.Draw() are called), not when these functions are being called.

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version:



bool InheritsDrawableGameComponent { get; }

Visual Basic

ReadOnly Property InheritsDrawableGameComponent As Boolean


Visual C++

property bool InheritsDrawableGameComponent {

 bool get ();


Property Value

Type: Boolean

collapse_allSee Also

IDPSFParticleSystem Interface

IDPSFParticleSystem Members

DPSF Namespace


Send comments on this topic to