init_from_radians


Description:

[ Version ( since = "1.10" ) ]
public unowned Euler? init_from_radians (float x, float y, float z, EulerOrder order)

Initializes a Euler using the given angles and order of rotation.

Parameters:

this

the Euler to initialize

x

rotation angle on the X axis, in radians

y

rotation angle on the Y axis, in radians

z

rotation angle on the Z axis, in radians

order

order of rotations

Returns:

the initialized Euler




2022 vala-language.org