You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Expose AnimationNodeOneShot::mix_mode as a property
Fixes #23458.
(cherry picked from commit f16c483c9d)
This commit is contained in:
committed by
Rémi Verschelde
parent
2eb12f1d71
commit
6340e4c83f
@@ -321,6 +321,8 @@ void AnimationNodeOneShot::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_use_sync", "enable"), &AnimationNodeOneShot::set_use_sync);
|
||||
ClassDB::bind_method(D_METHOD("is_using_sync"), &AnimationNodeOneShot::is_using_sync);
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "mix_mode", PROPERTY_HINT_ENUM, "Blend,Add"), "set_mix_mode", "get_mix_mode");
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::REAL, "fadein_time", PROPERTY_HINT_RANGE, "0,60,0.01,or_greater"), "set_fadein_time", "get_fadein_time");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::REAL, "fadeout_time", PROPERTY_HINT_RANGE, "0,60,0.01,or_greater"), "set_fadeout_time", "get_fadeout_time");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user