This repository has been archived on 2025-09-28. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
godot-procedural-grass/example/example.gd
2024-09-06 17:11:48 +02:00

11 lines
251 B
GDScript

extends Node3D
@export var wind_strength = 0.2;
@onready var fps_label: Label = $UI/FPS
func _ready() -> void:
Wind.wind_strength = wind_strength;
func _process(_delta: float) -> void:
fps_label.text = "FPS: %d" % Engine.get_frames_per_second()