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.
21 lines
564 B
21 lines
564 B
using System;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using UnityEngine;
|
|
using UnityEngine.VFX;
|
|
|
|
namespace UnityEditor.VFX
|
|
{
|
|
class VFXExpressionBakeCurve : VFXExpression
|
|
{
|
|
public VFXExpressionBakeCurve() : this(VFXValue<AnimationCurve>.Default)
|
|
{
|
|
}
|
|
|
|
public VFXExpressionBakeCurve(VFXExpression curve) : base(Flags.InvalidOnGPU, new VFXExpression[1] { curve })
|
|
{
|
|
}
|
|
|
|
sealed public override VFXExpressionOperation operation { get { return VFXExpressionOperation.BakeCurve; } }
|
|
}
|
|
}
|