Class Vector2Angle
Returns the angle between two 2D vectors in degrees.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Vector 2")]
[UnitTitle("Angle")]
public sealed class Vector2Angle : Angle<Vector2>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Methods
Operation(Vector2, Vector2)
Declaration
public override float Operation(Vector2 a, Vector2 b)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | a | |
Vector2 | b |
Returns
Type | Description |
---|---|
Single |
Overrides
Unity.VisualScripting.Angle<UnityEngine.Vector2>.Operation(UnityEngine.Vector2, UnityEngine.Vector2)