Added a SlotTypes Enum.

This commit is contained in:
Relintai 2021-10-04 13:27:29 +02:00
parent a13908fcec
commit 2eb6f789dd

View File

@ -2,6 +2,15 @@ tool
class_name MMNode
extends Resource
enum SlotTypes {
SLOT_TYPE_NONE = -1,
SLOT_TYPE_IMAGE = 0,
SLOT_TYPE_INT = 1,
SLOT_TYPE_FLOAT = 2,
SLOT_TYPE_VECTOR2 = 3,
SLOT_TYPE_VECTOR3 = 4,
}
export(Vector2) var graph_position : Vector2 = Vector2()
func recalculate_image(material, slot_idx : int) -> ImageTexture: