Table of Contents

Delegate Presenter.RenderComponentToEngine<TComponent>

Namespace
FrameOfReference.Presentation
Assembly
FrameOfReference.Presentation.dll

A callback for mapping a Render component to an Engine representation.

protected delegate PositionableRenderable Presenter.RenderComponentToEngine<in TComponent>(Entity entity, TComponent component) where TComponent : Render

Parameters

entity Entity

The entity containing the Render component.

component TComponent

The Render component to visualize using the Engine.

Returns

PositionableRenderable

The generated Engine representation.

Type Parameters

TComponent

The specific type of Render component to handle.

Constructors

RenderComponentToEngine(object, IntPtr)

public RenderComponentToEngine(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(Entity, TComponent, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(Entity entity, TComponent component, AsyncCallback callback, object @object)

Parameters

entity Entity
component TComponent
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual PositionableRenderable EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

PositionableRenderable

Invoke(Entity, TComponent)

public virtual PositionableRenderable Invoke(Entity entity, TComponent component)

Parameters

entity Entity
component TComponent

Returns

PositionableRenderable