Table of Contents

Class RenderLight

Namespace
Stride.Rendering.Lights
Assembly
Stride.Rendering.dll
public class RenderLight
Inheritance
RenderLight

Fields

BoundingBox

The bounding box of this light in WS after the LightProcessor has been applied (readonly field).

public BoundingBox BoundingBox

Field Value

BoundingBox

BoundingBoxExt

The bounding box extents of this light in WS after the LightProcessor has been applied (readonly field).

public BoundingBoxExt BoundingBoxExt

Field Value

BoundingBoxExt

Color

public Color3 Color

Field Value

Color3

Direction

Gets the light direction in World-Space (computed by the LightProcessor) (readonly field).

public Vector3 Direction

Field Value

Vector3

The direction.

Remarks

This property should only be used inside a renderer and not from a script as it is updated after scripts

HasBoundingBox

The determines whether this instance has a valid bounding box (readonly field).

public bool HasBoundingBox

Field Value

bool

Intensity

public float Intensity

Field Value

float

Position

Gets the light position in World-Space (computed by the LightProcessor) (readonly field). See remarks.

public Vector3 Position

Field Value

Vector3

The position.

Remarks

This property should only be used inside a renderer and not from a script as it is updated after scripts

Type

public ILight Type

Field Value

ILight

WorldMatrix

public Matrix WorldMatrix

Field Value

Matrix