Пример #1
0
 public MyLightProperties(Vector4 color, Vector3 specularColor, float fallOff, float range, float intensity, float pointLightOffSet, Vector4 reflectorColor,
                          float reflectorFallOff, float reflectorRange, float reflectorIntensity, float reflectorConeDegrees, MyLight.LightTypeEnum lightType, MyPrefabLight prefabLight, float flashOffset)
 {
     Color                = color;
     SpecularColor        = specularColor;
     FallOff              = fallOff;
     Range                = range;
     Intensity            = intensity;
     PointLightOffSet     = pointLightOffSet;
     ReflectorColor       = reflectorColor;
     ReflectorFallOff     = reflectorFallOff;
     ReflectorRange       = reflectorRange;
     ReflectorIntensity   = reflectorIntensity;
     ReflectorConeDegrees = reflectorConeDegrees;
     LightType            = lightType;
     PrefabLight          = prefabLight;
     FlashOffset          = flashOffset;
 }
 public MyLightProperties(Vector4 color, Vector3 specularColor, float fallOff, float range, float intensity, float pointLightOffSet, Vector4 reflectorColor,
     float reflectorFallOff, float reflectorRange, float reflectorIntensity, float reflectorConeDegrees, MyLight.LightTypeEnum lightType, MyPrefabLight prefabLight, float flashOffset)
 {
     Color = color;
     SpecularColor = specularColor;
     FallOff = fallOff;
     Range = range;
     Intensity = intensity;
     PointLightOffSet = pointLightOffSet;
     ReflectorColor = reflectorColor;
     ReflectorFallOff = reflectorFallOff;
     ReflectorRange = reflectorRange;
     ReflectorIntensity = reflectorIntensity;
     ReflectorConeDegrees = reflectorConeDegrees;
     LightType = lightType;
     PrefabLight = prefabLight;
     FlashOffset = flashOffset;
 }