Table of Contents

Delegate Element.BeginDelegate

Namespace
MLEM.Ui.Elements
Assembly
MLEM.Ui.dll

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 Element

The custom draw group

time GameTime

The game's time

batch SpriteBatch

The sprite batch used for drawing

alpha float

This element's draw alpha

blendState BlendState

The blend state used for drawing

samplerState SamplerState

The sampler state used for drawing

depthStencilState DepthStencilState

The depth stencil state used for drawing

effect Effect

The effect used for drawing

matrix Matrix

The transform matrix used for drawing

Extension Methods