30 lines
671 B
C#
30 lines
671 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Text.RegularExpressions;
|
|
using System.Text;
|
|
using Godot;
|
|
|
|
namespace Rokojori
|
|
{
|
|
[Tool]
|
|
[GlobalClass]
|
|
public partial class FloatDriverCompositorEffectTarget:FloatDriverTarget
|
|
{
|
|
[Export]
|
|
public CompositorEffectReference compositorEffectReference;
|
|
|
|
[Export]
|
|
public string targetMemberPath;
|
|
|
|
public override GodotObject GetGodotObject( IFloatDriver driver )
|
|
{
|
|
return compositorEffectReference.GetCompositorEffect( driver as Node );
|
|
}
|
|
|
|
public override string GetTargetMemberPath( IFloatDriver driver )
|
|
{
|
|
return targetMemberPath;
|
|
}
|
|
|
|
}
|
|
} |