Quat Constructor (Vector3, Single) |
Constructs a quaternion that will rotate around the given axis
by the specified angle. The axis must be a normalized vector.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Quat(
Vector3 axis,
float angle
)
Parameters
- axis
- Type: GodotVector3
The axis to rotate around. Must be normalized. - angle
- Type: SystemSingle
The angle to rotate, in radians.
See Also