Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ LightingEnabled

bool IEffectLights. Microsoft.Xna.Framework.Graphics.SkinnedEffect.LightingEnabled
getsetprivate

Implements Microsoft.Xna.Framework.Graphics.IEffectLights.

Definition at line 292 of file SkinnedEffect.cs.

293 {
294 get
295 {
296 return true;
297 }
298 set
299 {
300 if (!value)
301 {
302 throw new NotSupportedException(string.Format(CultureInfo.CurrentCulture, FrameworkResources.CantDisableLighting, new object[1] { typeof(SkinnedEffect).Name }));
303 }
304 }
305 }
static CultureInfo CurrentCulture