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

◆ LightingEnabled

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

Implements Microsoft.Xna.Framework.Graphics.IEffectLights.

Definition at line 295 of file EnvironmentMapEffect.cs.

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