LightDirectional Class
Namespace: Stride.Rendering.Lights
Assembly: Stride.Rendering.dll
Derived from LightDirectional:
[DataContract("LightDirectional")]
[Display("Directional", null)]
public class LightDirectional : DirectLightBase, IDirectLight, IColorLight, ILight
|
Improve this Doc
View Source
Constructors
LightDirectional()
public LightDirectional()
|
Improve this Doc
View Source
Properties
HasBoundingBox
public override bool HasBoundingBox { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Methods
ComputeBounds(Vector3, Vector3)
public override BoundingBox ComputeBounds(Vector3 position, Vector3 direction)
Parameters
Returns
Overrides
ComputeScreenCoverage(RenderView, Vector3, Vector3)
public override float ComputeScreenCoverage(RenderView renderView, Vector3 position, Vector3 direction)
Parameters
Returns
Type |
Description |
System.Single |
|
Overrides
Update(RenderLight)
public override bool Update(RenderLight light)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Extension Methods