DirectLightBase Class
Namespace: Stride.Rendering.Lights
Assembly: Stride.Rendering.dll
[DataContract]
public abstract class DirectLightBase : ColorLightBase, IDirectLight, IColorLight, ILight
|
Improve this Doc
View Source
Properties
HasBoundingBox
public abstract bool HasBoundingBox { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Shadow
[DataMember(200)]
public LightShadowMap Shadow { get; protected set; }
Property Value
|
Improve this Doc
View Source
Methods
ComputeBounds(Vector3, Vector3)
public abstract BoundingBox ComputeBounds(Vector3 position, Vector3 direction)
Parameters
Returns
ComputeScreenCoverage(RenderView, Vector3, Vector3)
public abstract float ComputeScreenCoverage(RenderView renderView, Vector3 position, Vector3 direction)
Parameters
Returns
| Type |
Description |
| System.Single |
|
Extension Methods