You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
582 B

using System;
using System.Linq;
using System.Runtime.CompilerServices;
using UnityEngine;
using UnityEngine.VFX;
namespace UnityEditor.VFX
{
class VFXExpressionBakeGradient : VFXExpression
{
public VFXExpressionBakeGradient() : this(VFXValue<Gradient>.Default)
{
}
public VFXExpressionBakeGradient(VFXExpression curve)
: base(Flags.InvalidOnGPU, new VFXExpression[1] { curve })
{
}
sealed public override VFXExpressionOperation operation { get { return VFXExpressionOperation.BakeGradient; } }
}
}