Click or drag to resize

Basis Constructor (Vector3, Single)

Constructs a pure rotation basis matrix, rotated 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
C#
public Basis(
	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.
See Also