FMatrix2Rotate Method

Rotate the 2D vector by a specified angle, in radians.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2820.4317
C#
public static FVector2 Rotate(
	FVector2 vector,
	float theta
)

Parameters

vector  FVector2
Reference to the vector to be rotated.
theta  Single
The angle by which to rotate the vector, in radians.

Return Value

FVector2
The rotated vector, relative to 0,0.

See Also