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++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++
DPSF API Documentation
IDPSFParticleSystem
.
.

::

..InheritsDrawableGameComponent Property
gradient

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: 2.5.0.0

collapse_allSyntax

C#

bool InheritsDrawableGameComponent { get; }

Visual Basic

ReadOnly Property InheritsDrawableGameComponent As Boolean

 Get

Visual C++

property bool InheritsDrawableGameComponent {

 bool get ();

}

Property Value

Type: Boolean

collapse_allSee Also

IDPSFParticleSystem Interface

IDPSFParticleSystem Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com