Changed/Added descriptions in @GDScript. Added examples. Fixed return types of two … (#11146)
Doc: Improved descriptions in GDScript docs Added examples and fixed return types of two methods.
This commit is contained in:
parent
d6fa5e302c
commit
8632408dbd
2 changed files with 245 additions and 36 deletions
|
|
@ -1420,12 +1420,12 @@ MethodInfo GDFunctions::get_info(Function p_func) {
|
|||
} break;
|
||||
case MATH_ISNAN: {
|
||||
MethodInfo mi("is_nan", PropertyInfo(Variant::REAL, "s"));
|
||||
mi.return_val.type = Variant::REAL;
|
||||
mi.return_val.type = Variant::BOOL;
|
||||
return mi;
|
||||
} break;
|
||||
case MATH_ISINF: {
|
||||
MethodInfo mi("is_inf", PropertyInfo(Variant::REAL, "s"));
|
||||
mi.return_val.type = Variant::REAL;
|
||||
mi.return_val.type = Variant::BOOL;
|
||||
return mi;
|
||||
} break;
|
||||
case MATH_EASE: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue