FMatrix2Rotate(FVector2, Single) Method

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

Definition

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

Parameters

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

Return Value

FVector2
The rotated point, relative to 0,0.

See Also