This topic has not yet been rated - Rate this topic

DrawableGameComponent Methods

Name Description
Public Method Dispose Overloaded. Releases the resources used by the DrawableGameComponent class.
Public Method Draw Called when the DrawableGameComponent needs to be drawn. Override this method with component-specific drawing code.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Initialize Initializes the component. Override this method to load any non-graphics resources and query for any required services.
Public Method ToString (Inherited from Object.)
Public Method Update (Inherited from GameComponent.)
Name Description
Protected Method Finalize (Inherited from GameComponent.)
Protected Method LoadContent Called when graphics resources need to be loaded. Override this method to load any component-specific graphics resources.
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method OnDrawOrderChanged Called when the DrawOrder property changes. Raises the DrawOrderChanged event.
Protected Method OnEnabledChanged (Inherited from GameComponent.)
Protected Method OnUpdateOrderChanged (Inherited from GameComponent.)
Protected Method OnVisibleChanged Called when the Visible property changes. Raises the VisibleChanged event.
Protected Method UnloadContent Called when graphics resources need to be unloaded. Override this method to unload any component-specific graphics resources.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ