LightProperty.cs 627 B

123456789101112131415161718192021
  1. using UnityEngine;
  2. namespace MeidoPhotoStudio.Plugin;
  3. public class LightProperty
  4. {
  5. public static readonly Vector3 DefaultPosition = new(0f, 1.9f, 0.4f);
  6. public static readonly Quaternion DefaultRotation = Quaternion.Euler(40f, 180f, 0f);
  7. public Quaternion Rotation { get; set; } = DefaultRotation;
  8. public float Intensity { get; set; } = 0.95f;
  9. public float Range { get; set; } = GameMain.Instance.MainLight.GetComponent<Light>().range;
  10. public float SpotAngle { get; set; } = 50f;
  11. public float ShadowStrength { get; set; } = 0.10f;
  12. public Color LightColour { get; set; } = Color.white;
  13. }