12345678910111213141516171819202122 |
- 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; } }
- }
- }
|