Table of Contents

Interface IColorLight

Namespace
Stride.Rendering.Lights
Assembly
Stride.Rendering.dll

Base interface for a light with a color

public interface IColorLight : ILight
Inherited Members

Properties

Color

Gets or sets the light color.

IColorProvider Color { get; set; }

Property Value

IColorProvider

The color.

Methods

ComputeColor(ColorSpace, float)

Computes the color to the proper ColorSpace with the specified intensity.

Color3 ComputeColor(ColorSpace colorSpace, float intensity)

Parameters

colorSpace ColorSpace
intensity float

The intensity.

Returns

Color3

Color3.