godot-docs icon indicating copy to clipboard operation
godot-docs copied to clipboard

default SceneTreeTween.TransitionType

Open MaaaxiKing opened this issue 2 years ago • 1 comments

Your Godot version: 3.5.stable.mono Issue description: I am not 100 % sure if I can leave out Tween.TransitionType.Linear when creating a SceneTreeTween if I want its Tweeners to tween with the linear transition type. URL to the documentation page (if already existing): https://docs.godotengine.org/en/stable/classes/class_scenetreetween.html

MaaaxiKing avatar Aug 18 '22 22:08 MaaaxiKing

interpolate_value() lacks a default value for the trans_type parameter, so the value must be specified.

I agree the set_trans() description should mention the default transition type used though.

Calinou avatar Aug 18 '22 23:08 Calinou