Bagikan melalui


BasicEffect.DirectionalLight0 Property

Gets the first directional light for this effect.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

public DirectionalLight DirectionalLight0 { get; }

Property Value

A directional light for this effect.

See Also

Reference

BasicEffect Class
BasicEffect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP