Delegate Element.BeginDelegate
A delegate method used for BeginImpl
[Obsolete("BeginDelegate is deprecated. You can create a custom element class and override Draw instead.")]
public delegate void Element.BeginDelegate(Element element, GameTime time, SpriteBatch batch, float alpha, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, Effect effect, Matrix matrix)
Parameters
element
ElementThe custom draw group
time
GameTimeThe game's time
batch
SpriteBatchThe sprite batch used for drawing
alpha
floatThis element's draw alpha
blendState
BlendStateThe blend state used for drawing
samplerState
SamplerStateThe sampler state used for drawing
depthStencilState
DepthStencilStateThe depth stencil state used for drawing
effect
EffectThe effect used for drawing
matrix
MatrixThe transform matrix used for drawing
- Extension Methods