Skip to reading
GDScript Programming & Godot

atan()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
On this page

Earlier edition reference / Current 0.86.4.0 property paths > p. 350

Code example
atan(x: float) -> float

Inverse trigonometric/hyperbolic calculation; angle results use radians where applicable.

atan2()#

Code example
atan2(y: float, x: float) -> float

Inverse trigonometric/hyperbolic calculation; angle results use radians where applicable.

atanh()#

Code example
atanh(x: float) -> float

Inverse trigonometric/hyperbolic calculation; angle results use radians where applicable.

bezier_derivative()#

Code example
bezier_derivative(start: float, control_1: float, control_2: float, end: float, t: float) ->
float

Evaluate a cubic Bezier curve or its derivative.

bezier_interpolate()#

Code example
bezier_interpolate(start: float, control_1: float, control_2: float, end: float, t: float) ->
float

Evaluate a cubic Bezier curve or its derivative.

bytes_to_var()#

Code example
bytes_to_var(bytes: PackedByteArray) -> Variant

Convert supported Variant data to/from binary data without object encoding.

bytes_to_var_with_objects()#

Code example
bytes_to_var_with_objects(bytes: PackedByteArray) -> Variant

Binary Variant conversion that can include objects; use only with an intentional trusted-data format.

ceil()#

Code example
ceil(x: Variant) -> Variant

Round upward; the suffix selects a typed variant.

Page 306 of 378Permalink
Go to page