rj-action-library/Runtime/Animation/Flash/FlashEffect.cs

73 lines
1.1 KiB
C#
Raw Normal View History

2025-01-03 12:09:23 +00:00
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Text;
using Godot;
namespace Rokojori
{
[Tool]
[GlobalClass]
public partial class FlashEffect:Resource
{
[ExportGroup( "Flash")]
[Export]
public AnimationCurve flashCurve;
2025-01-08 18:46:17 +00:00
[Export]
public TimeLine timeline;
2025-01-03 12:09:23 +00:00
[Export]
public HDRColor color;
public enum FlashLightMode
{
No_Light,
Origin_Of_First,
Center_Of_All
}
[ExportGroup( "Flash/Light")]
[Export]
public FlashLightMode lightMode;
[Export]
public float lightRange = 2;
[Export]
public float lightFlashCurveScale = 2;
[Export]
public bool lightHasShadows = false;
public enum MaterialMode
{
Flat_Standard3D,
Fresnel_FresnelOverlay,
Scan_ScanGradient,
Shield_TriPlanarOverlay,
Custom_Material
}
[ExportGroup( "Material")]
[Export]
public MaterialMode materialMode;
[Export]
public Material customMaterial;
[Export]
public ColorPropertyName customFlashColorProperty;
2025-01-08 18:46:17 +00:00
2025-01-03 12:09:23 +00:00
}
}