Rotates the transform around the given `axis` by `phi` (in radians),
using matrix multiplication. The axis must be a normalized vector.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Transform 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:
TransformThe rotated transformation matrix.
See Also