Class Vector2Divide
Returns the component-wise quotient of two 2D vectors.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Vector 2")]
[UnitTitle("Divide")]
public sealed class Vector2Divide : Divide<Vector2>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
defaultDividend
Declaration
protected override Vector2 defaultDividend { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Overrides
Unity.VisualScripting.Divide<UnityEngine.Vector2>.defaultDividend
defaultDivisor
Declaration
protected override Vector2 defaultDivisor { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Overrides
Unity.VisualScripting.Divide<UnityEngine.Vector2>.defaultDivisor
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.Divide<UnityEngine.Vector2>.Operation(UnityEngine.Vector2, UnityEngine.Vector2)