Interface IDirectLight
Base interface for all direct lights.
public interface IDirectLight : IColorLight, ILight- Inherited Members
Properties
HasBoundingBox
Gets a value indicating whether this instance has a bounding box.
bool HasBoundingBox { get; }Property Value
- bool
- trueif this instance has a bounding box; otherwise,- false.
Shadow
Gets or sets the shadow.
LightShadowMap Shadow { get; }Property Value
- LightShadowMap
- The shadow. 
Methods
ComputeBounds(Vector3, Vector3)
Computes the bounds of this light..
BoundingBox ComputeBounds(Vector3 position, Vector3 direction)Parameters
Returns
- BoundingBox
- BoundingBox. 
ComputeScreenCoverage(RenderView, Vector3, Vector3)
Computes the screen coverage of this light in pixel.
float ComputeScreenCoverage(RenderView renderView, Vector3 position, Vector3 direction)Parameters
- renderViewRenderView
- The render view. 
- positionVector3
- The position of the light in world space. 
- directionVector3
- The direction of the light in world space. 
Returns
- float
- The largest screen coverage width or height size in pixels of this light.