JD2022-TU1/main/tools/framework/JD.Timeline/View/Actions/AddNewClipMaterialActionHandler.cs

25 lines
No EOL
977 B
C#

using System.Collections.Generic;
using System.Linq;
using JD.Serialization;
namespace JD.Timeline.View.Actions
{
/// <summary>
/// Provides the different menu actions to create a new clip.
/// </summary>
public class AddNewClipMaterialActionHandler : AddNewClipActionHandler
{
protected override IEnumerable<System.Type> ClipTypes()
{
yield return typeof(MaterialGraphicDiffuseAlphaClip);
yield return typeof(MaterialGraphicDiffuseColorClip);
yield return typeof(MaterialGraphicEnableLayerClip);
yield return typeof(MaterialGraphicUVAnimRotationClip);
yield return typeof(MaterialGraphicUVRotationClip);
yield return typeof(MaterialGraphicUVScaleClip);
yield return typeof(MaterialGraphicUVScrollClip);
yield return typeof(MaterialGraphicUVTranslationClip);
yield return typeof(MaterialGraphicAlphaThresholdClip);
}
}
}