23 lines
582 B
C#
23 lines
582 B
C#
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; } }
|
|
}
|
|
}
|