Toolkit.UI.Controls.Avalonia

This commit is contained in:
TheXamlGuy
2024-04-13 11:41:33 +01:00
parent 62a7e94e19
commit 862e7b2e34
97 changed files with 8558 additions and 0 deletions
@@ -0,0 +1,23 @@
namespace SukiUI.Utilities.Background;
public readonly struct FastNoiseRendererOptions(
FastNoiseLite.NoiseType type,
float noiseScale = 1.5f,
float xSeed = 2f,
float ySeed = 1f,
float primaryAlpha = 0.7f,
float accentAlpha = 0.04f,
float seedScale = 0.1f)
{
public float AccentAlpha { get; } = accentAlpha;
public float NoiseScale { get; } = noiseScale;
public float PrimaryAlpha { get; } = primaryAlpha;
public FastNoiseLite.NoiseType Type { get; } = type;
public float XSeed { get; } = xSeed * seedScale;
public float YSeed { get; } = ySeed * seedScale;
}