Exemple #1
0
 public DefaultStandardDirectionalLight(
     ILightRenderer <IStandardDirectionalLight> lightRenderer,
     Vector3 lightDirection,
     Color lightColor)
 {
     LightRenderer  = lightRenderer;
     LightDirection = lightDirection;
     LightColor     = lightColor;
 }
 public DefaultStandardPointLight(
     ILightRenderer <IStandardPointLight> lightRenderer,
     Vector3 lightPosition,
     Color lightColor,
     float lightRadius,
     float lightIntensity)
 {
     LightRenderer  = lightRenderer;
     LightPosition  = lightPosition;
     LightColor     = lightColor;
     LightRadius    = lightRadius;
     LightIntensity = lightIntensity;
 }