Click or drag to resize

Basis Constructor (Vector3)

Constructs a pure rotation basis matrix from the given Euler angles (in the YXZ convention: when *composing*, first Y, then X, and Z last), given in the vector format as (X angle, Y angle, Z angle). Consider using the Basis(Quat) constructor instead, which uses a Quat quaternion instead of Euler angles.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Basis(
	Vector3 eulerYXZ
)

Parameters

eulerYXZ
Type: GodotVector3
The Euler angles to create the basis from.
See Also