immersive-home/content/ui/components/container/container3d.gd

15 lines
273 B
GDScript3
Raw Normal View History

2023-11-07 22:07:34 +02:00
extends Node3D
class_name Container3D
@export var size := Vector3(1.0, 1.0, 1.0) :
set(value):
size = value
_update_container()
@export var padding: Vector4 = Vector4(0, 0, 0, 0) :
set(value):
padding = value
_update_container()
func _update_container():
pass