Introduce an additional rotation around the given `axis`
by `phi` (in radians). The axis must be a normalized vector.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Basis Rotated(
Vector3 axis,
float phi
)
Parameters
- axis
- Type: GodotVector3
The axis to rotate around. Must be normalized. - phi
- Type: SystemSingle
The angle to rotate, in radians.
Return Value
Type:
BasisThe rotated basis matrix.
See Also