Class Vector2Subtract
Returns the difference between two 2D vectors.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Vector 2")]
[UnitTitle("Subtract")]
public sealed class Vector2Subtract : Subtract<Vector2>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
defaultMinuend
Declaration
protected override Vector2 defaultMinuend { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Overrides
Unity.VisualScripting.Subtract<UnityEngine.Vector2>.defaultMinuend
defaultSubtrahend
Declaration
protected override Vector2 defaultSubtrahend { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Overrides
Unity.VisualScripting.Subtract<UnityEngine.Vector2>.defaultSubtrahend
Methods
Operation(Vector2, Vector2)
Declaration
public override Vector2 Operation(Vector2 a, Vector2 b)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | a | |
Vector2 | b |
Returns
Type | Description |
---|---|
Vector2 |
Overrides
Unity.VisualScripting.Subtract<UnityEngine.Vector2>.Operation(UnityEngine.Vector2, UnityEngine.Vector2)