Quat Constructor (Single, Single, Single, Single) |
Constructs a quaternion defined by the given values.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Quat(
float x,
float y,
float z,
float w
)
Parameters
- x
- Type: SystemSingle
X component of the quaternion (imaginary `i` axis part). - y
- Type: SystemSingle
Y component of the quaternion (imaginary `j` axis part). - z
- Type: SystemSingle
Z component of the quaternion (imaginary `k` axis part). - w
- Type: SystemSingle
W component of the quaternion (real part).
See Also