Update Matrix Transform demo to Godot 4.1 (#978)

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
Alex
2023-10-18 02:38:00 +02:00
committed by GitHub
parent 647002a75c
commit e2abd0e7fb
5 changed files with 10 additions and 18 deletions

View File

@@ -1,7 +1,9 @@
@tool
class_name AxisMarker2D, "res://marker/AxisMarker2D.svg"
@icon("res://marker/AxisMarker2D.svg")
class_name AxisMarker2D
extends Node2D
func _process(_delta):
var line: Line2D = get_child(0).get_child(0)
var marker_parent = get_parent()

View File

@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/AxisMarker2D.svg-a52a23070c2ca9dcdd860a47183c
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false

View File

@@ -1,7 +1,7 @@
@tool
extends Node3D
class_name AxisMarker3D
@icon("res://marker/AxisMarker3D.svg")
class_name AxisMarker3D
extends Node3D
func _process(_delta):

View File

@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/AxisMarker3D.svg-613a31ba426aca266949d2735333
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false