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
boundingSphereBoundingSphereThe position and optional radius in floating world space of the target being lit.
shadowingboolWhether 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
objectobjectmethodIntPtr
Methods
BeginInvoke(BoundingSphere, bool, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(BoundingSphere boundingSphere, bool shadowing, AsyncCallback callback, object @object)
Parameters
boundingSphereBoundingSphereshadowingboolcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual IReadOnlyList<LightSource> EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Returns
Invoke(BoundingSphere, bool)
public virtual IReadOnlyList<LightSource> Invoke(BoundingSphere boundingSphere, bool shadowing)
Parameters
boundingSphereBoundingSphereshadowingbool
Returns
See Also
OmegaEngine.Graphics.Scene.GetEffectiveLights(SlimDX.BoundingSphere,System.Boolean)