Inherits: VisualScriptNode < Resource < Reference < Object
Commonly used mathematical constants.
Provides common math constants, such as Pi, on an output Data port.
Input Ports:
none
Output Ports:
get
MathConstant | constant | 0 |
enum MathConstant:
1
.3.141593
.1.570796
.6.283185
.e
, the natural log base: 2.718282
.1.414214
.inf
.nan
.Default | 0 |
Setter | set_math_constant(value) |
Getter | get_math_constant() |
The math constant.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_visualscriptmathconstant.html