DirectLight class
Constructors
-
DirectLight({required LightType type, required double color, required double intensity, bool castShadows = false, required Vector3 direction, required Vector3 position, double falloffRadius = 1.0, double spotLightConeInner = pi / 8, double spotLightConeOuter = pi / 4, double sunAngularRadius = 0.545, double sunHaloSize = 10.0, double sunHaloFallof = 80.0})
-
-
DirectLight.point({double color = 6500, double intensity = 100000, bool castShadows = false, Vector3? position, double falloffRadius = 1.0})
-
-
DirectLight.spot({double color = 6500, double intensity = 100000, bool castShadows = true, Vector3? position, Vector3? direction, double falloffRadius = 1.0, double spotLightConeInner = pi / 8, double spotLightConeOuter = pi / 4})
-
-
DirectLight.sun({double color = 6500, double intensity = 100000, bool castShadows = true, Vector3? direction, double sunAngularRadius = 0.545, double sunHaloSize = 10.0, double sunHaloFalloff = 80.0})
-
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited