mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-12-21 13:16:49 +01:00
Add everything needed to construct slots to the universal property.
This commit is contained in:
parent
efc5d8ae9c
commit
8654865b1b
File diff suppressed because one or more lines are too long
@ -36,6 +36,12 @@ var override_image : Image
|
|||||||
#Should be a MMNodeUniversalProperty, but can't set it up like that
|
#Should be a MMNodeUniversalProperty, but can't set it up like that
|
||||||
export(Resource) var input_property : Resource
|
export(Resource) var input_property : Resource
|
||||||
|
|
||||||
|
var input_slot_type : int = SlotTypes.SLOT_TYPE_NONE
|
||||||
|
var output_slot_type : int = SlotTypes.SLOT_TYPE_NONE
|
||||||
|
var slot_name : String = ""
|
||||||
|
var value_step : float = 0.1
|
||||||
|
var value_range : Vector2 = Vector2(-1000, 1000)
|
||||||
|
|
||||||
func get_value(uv : Vector2):
|
func get_value(uv : Vector2):
|
||||||
if !input_property:
|
if !input_property:
|
||||||
return get_default_value(uv)
|
return get_default_value(uv)
|
||||||
|
Loading…
Reference in New Issue
Block a user