Export (0) Print
Expand All

DrawableGameComponent Methods

NameDescription
Public MethodDisposeOverloaded. Releases the resources used by the DrawableGameComponent class.
Public MethodDrawCalled when the DrawableGameComponent needs to be drawn. Override this method with component-specific drawing code.
Public MethodEquals (Inherited from Object.)
Public MethodGetHashCode (Inherited from Object.)
Public MethodGetType (Inherited from Object.)
Public MethodInitializeInitializes the component. Override this method to load any non-graphics resources and query for any required services.
Public MethodReferenceEquals (Inherited from Object.)
Public MethodToString (Inherited from Object.)
Public MethodUpdate (Inherited from GameComponent.)

NameDescription
Protected MethodLoadContentCalled when graphics resources need to be loaded. Override this method to load any component-specific graphics resources.
Protected MethodLoadGraphicsContentObsolete. Called when the component needs to load graphics resources. Override this method to load any component-specific graphics resources.
Protected MethodMemberwiseClone (Inherited from Object.)
Protected MethodOnDrawOrderChangedCalled when the DrawOrder property changes. Raises the DrawOrderChanged event.
Protected MethodOnEnabledChanged (Inherited from GameComponent.)
Protected MethodOnUpdateOrderChanged (Inherited from GameComponent.)
Protected MethodOnVisibleChangedCalled when the Visible property changes. Raises the VisibleChanged event.
Protected MethodUnloadContentCalled when graphics resources need to be unloaded. Override this method to unload any component-specific graphics resources.
Protected MethodUnloadGraphicsContentObsolete. Called when graphics resources should be unloaded. Override this method to handle component-specific graphics resources.

Community Additions

ADD
Show:
© 2014 Microsoft