Class Vector2Modulo
Returns the remainder of the component-wise division of two 2D vectors.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Vector 2")]
[UnitTitle("Modulo")]
public sealed class Vector2Modulo : Modulo<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.Modulo<UnityEngine.Vector2>.defaultDividend
defaultDivisor
Declaration
protected override Vector2 defaultDivisor { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Overrides
Unity.VisualScripting.Modulo<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.Modulo<UnityEngine.Vector2>.Operation(UnityEngine.Vector2, UnityEngine.Vector2)