45 lines
788 B
C#
45 lines
788 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public class image_edit_class
|
|
{
|
|
public Color color1_start;
|
|
|
|
public Color color1_end;
|
|
|
|
public AnimationCurve curve1;
|
|
|
|
public Color color2_start;
|
|
|
|
public Color color2_end;
|
|
|
|
public AnimationCurve curve2;
|
|
|
|
public float strength;
|
|
|
|
public image_output_enum output;
|
|
|
|
public bool active;
|
|
|
|
public bool solid_color;
|
|
|
|
public float radius;
|
|
|
|
public int repeat;
|
|
|
|
public image_edit_class()
|
|
{
|
|
color1_start = new Color(0f, 0f, 0f, 1f);
|
|
color1_end = new Color(0.3f, 0.3f, 0.3f, 1f);
|
|
curve1 = AnimationCurve.Linear(0f, 0f, 1f, 1f);
|
|
color2_start = new Color(1f, 1f, 1f, 1f);
|
|
color2_end = new Color(1f, 1f, 1f, 1f);
|
|
curve2 = AnimationCurve.Linear(0f, 0f, 1f, 1f);
|
|
strength = 1f;
|
|
active = true;
|
|
radius = 300f;
|
|
repeat = 4;
|
|
}
|
|
}
|