Class DirectionalLight
- Namespace
- OmegaEngine.Graphics.LightSources
- Assembly
- OmegaEngine.dll
A light source that has no position and shines in one direction.
public sealed class DirectionalLight : LightSource
- Inheritance
-
objectDirectionalLight
- Inherited Members
Properties
Direction
The direction light emitted by this light source travels in
public Vector3 Direction { get; set; }
Property Value
- Vector3
Methods
GetShadowed(BoundingSphere, BoundingSphere)
Creates a copy of this light source with simple shadowing applied.
[Pure]
public override LightSource GetShadowed(BoundingSphere receiverSphere, BoundingSphere casterSphere)
Parameters
receiverSphereBoundingSphereThe bounding sphere of the shadow receiver in world space.
casterSphereBoundingSphereThe bounding sphere of the shadow caster in world space.