您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
23 行
633 B
23 行
633 B
using UnityEngine;
|
|
using UnityEngine.VFXToolbox;
|
|
|
|
namespace UnityEditor.VFXToolbox.ImageSequencer
|
|
{
|
|
[Processor("Common","Fix Borders", typeof(FixBordersProcessor))]
|
|
class FixBordersProcessorSettings : ProcessorSettingsBase
|
|
{
|
|
public Vector4 FixFactors;
|
|
public Color FadeToColor;
|
|
public float FadeToAlpha;
|
|
[FloatSlider(0.5f,4.0f)]
|
|
public float Exponent;
|
|
|
|
public override void Default()
|
|
{
|
|
FixFactors = Vector4.zero;
|
|
FadeToColor = new Color(0.0f, 0.0f, 0.0f, 0.0f);
|
|
FadeToAlpha = 0.0f;
|
|
Exponent = 1.5f;
|
|
}
|
|
}
|
|
}
|