let t = 1; // 秒数
let Min = 0; // 不透明度最小
let Max = 100; //不透明度最大
if(time >= inPoint && time <= inPoint + t){
linear(time,inPoint,inPoint + t,Min,Max);
} else if(time >= outPoint - t && time <= outPoint){
linear(time,outPoint - t,outPoint,Max,Min);
} else value