Table of Contents

Delegate GetEffectiveLights

Namespace
OmegaEngine.Graphics
Assembly
OmegaEngine.dll

Gets the effective light sources for a specific location (in range and potentially shadowed).

public delegate IReadOnlyList<LightSource> GetEffectiveLights(BoundingSphere boundingSphere, bool shadowing)

Parameters

boundingSphere BoundingSphere

The position and optional radius in floating world space of the target being lit.

shadowing bool

Whether to apply shadowing.

Returns

IReadOnlyList<LightSource>
Gets the effective light sources for a specific location (in range and potentially shadowed).

Constructors

GetEffectiveLights(object, IntPtr)

public GetEffectiveLights(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(BoundingSphere, bool, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(BoundingSphere boundingSphere, bool shadowing, AsyncCallback callback, object @object)

Parameters

boundingSphere BoundingSphere
shadowing bool
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual IReadOnlyList<LightSource> EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

IReadOnlyList<LightSource>

Invoke(BoundingSphere, bool)

public virtual IReadOnlyList<LightSource> Invoke(BoundingSphere boundingSphere, bool shadowing)

Parameters

boundingSphere BoundingSphere
shadowing bool

Returns

IReadOnlyList<LightSource>

See Also

OmegaEngine.Graphics.Scene.GetEffectiveLights(SlimDX.BoundingSphere,System.Boolean)