mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
15 lines
436 B
GDScript3
15 lines
436 B
GDScript3
|
tool
|
||
|
extends MMNode
|
||
|
|
||
|
var image : Resource
|
||
|
|
||
|
func _init_properties():
|
||
|
image = MMNodeUniversalProperty.new()
|
||
|
image.default_type = MMNodeUniversalProperty.MMNodeUniversalPropertyDefaultType.DEFAULT_TYPE_IMAGE
|
||
|
image.input_slot_type = MMNodeUniversalProperty.SlotTypes.SLOT_TYPE_UNIVERSAL
|
||
|
image.slot_name = "radius"
|
||
|
image.value_step = 0.05
|
||
|
|
||
|
func _register_methods(mm_graph_node) -> void:
|
||
|
mm_graph_node.add_slot_texture_universal(image)
|