Share via


SkinnedEffect.PreferPerPixelLighting Property

Gets or sets the per-pixel prefer lighting flag.

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

Syntax

public bool PreferPerPixelLighting { get; set; }

Property Value

True to prefer per-pixel lighting; false otherwise.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP