rj-action-library/Runtime/Physics/Wind/WindManagerData.cs

42 lines
876 B
C#
Raw Normal View History

2025-10-24 11:38:51 +00:00
using Godot;
namespace Rokojori
{
[Tool]
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/WindManager.svg") ]
public partial class WindManagerData:Resource
{
[Export]
public Vector2 windDirection = new Vector2( 1, 0 );
[Export]
public WindSpeed windSpeed = new TextureKMHWindSpeed();
[Export]
public float minimumScrollSpeedKMH = 5;
[Export]
public float maximumScrollSpeedKMH = 100;
[Export]
2025-12-10 14:17:07 +00:00
public float closeMultiplier = 1.0f;
[Export]
public float farMultiplier = 0.1f;
[Export]
public Vector2PropertyName globalWindPositionClosePropertyName;
[Export]
public Vector2PropertyName globalWindPositionFarPropertyName;
2025-10-24 11:38:51 +00:00
[Export]
public Vector2PropertyName globalWindDirectionPropertyName;
[Export]
public FloatPropertyName globalWindSpeeedPropertyName;
}
}