2using System.Collections.Generic;
4using System.Runtime.CompilerServices;
31 public LightType type { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
40 INTERNAL_getColor(out
Color value);
46 INTERNAL_setColor(ref value);
53 public float intensity { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
58 public float radius { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
63 public float innerRadius { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
68 public float outerRadius { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
73 public float bias { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
78 public bool castShadows { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
82 [MethodImpl(MethodImplOptions.InternalCall)]
83 private extern void INTERNAL_getColor(out
Color color);
85 [MethodImpl(MethodImplOptions.InternalCall)]
86 private extern void INTERNAL_setColor(ref
Color color);
float bias
Shadow mapping constant bias
float intensity
The Intensity of a light is multiplied with the Light color
Color color
The color of the light
LightType type
Get or set the light type. Point, spot or directional
bool castShadows
Enable or disable casting shadows for this light source
float innerRadius
The angle of the light's spotlight inner cone in degrees
float outerRadius
The angle of the light's spotlight cone in degrees.
float radius
The range of the light