2025-01-03 12:09:23 +00:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using Godot;
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Rokojori
|
|
|
|
{
|
|
|
|
[Tool]
|
|
|
|
[GlobalClass]
|
|
|
|
public partial class GrassPatchLODLevel:Resource
|
|
|
|
{
|
|
|
|
[Export]
|
|
|
|
public int bladeSegments = 3;
|
|
|
|
|
|
|
|
[Export]
|
|
|
|
public float bladeScaleMultiplier = 1;
|
|
|
|
|
|
|
|
[Export]
|
|
|
|
public float bladeWidthMultiplier = 1;
|
|
|
|
|
|
|
|
[Export( PropertyHint.Range, "0,1")]
|
|
|
|
public float filter = 1;
|
|
|
|
|
2025-06-10 13:16:36 +00:00
|
|
|
[Export]
|
|
|
|
public float turbulenceScale = 0f;
|
|
|
|
|
2025-01-03 12:09:23 +00:00
|
|
|
[Export]
|
|
|
|
public Trillean allowTrianglesOnEnd;
|
|
|
|
|
2025-06-10 13:16:36 +00:00
|
|
|
[Export]
|
|
|
|
public float lodEdgeLengthScale = 1;
|
|
|
|
|
2025-01-03 12:09:23 +00:00
|
|
|
}
|
|
|
|
}
|