Table of Contents

Class DirectionalLight

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll
public sealed class DirectionalLight
Inheritance
DirectionalLight
Inherited Members

Constructors

DirectionalLight(EffectParameter, EffectParameter, EffectParameter, DirectionalLight)

public DirectionalLight(EffectParameter directionParameter, EffectParameter diffuseColorParameter, EffectParameter specularColorParameter, DirectionalLight cloneSource)

Parameters

directionParameter EffectParameter
diffuseColorParameter EffectParameter
specularColorParameter EffectParameter
cloneSource DirectionalLight

Properties

DiffuseColor

public Vector3 DiffuseColor { get; set; }

Property Value

Vector3

Direction

public Vector3 Direction { get; set; }

Property Value

Vector3

Enabled

public bool Enabled { get; set; }

Property Value

bool

SpecularColor

public Vector3 SpecularColor { get; set; }

Property Value

Vector3