Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Documentation~/Operator-Rotate2D.md
2024-08-26 23:07:20 +03:00

741 B

Rotate 2D

Menu Path : Operator > Math > Vector

The Rotate 2D Operator performs a 2D rotation of an input point and a given angle around a given center.

Operator properties

Input Type Description
Position Vector2 The point to rotate.
Rotation Center Vector2 The point to rotate Position around.
Angle float The angle of rotation to use, in radians.
Output Type Description
Position Vector2 The rotated position.