Class Vector4Average
Returns the average of two or more 4D vectors.
Inheritance
Vector4Average
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Vector 4")]
[UnitTitle("Average")]
public sealed class Vector4Average : Average<Vector4>, IMultiInputUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Methods
Operation(IEnumerable<Vector4>)
Declaration
public override Vector4 Operation(IEnumerable<Vector4> values)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Vector4> | values |
Returns
Type | Description |
---|---|
Vector4 |
Overrides
Unity.VisualScripting.Average<UnityEngine.Vector4>.Operation(System.Collections.Generic.IEnumerable<UnityEngine.Vector4>)
Operation(Vector4, Vector4)
Declaration
public override Vector4 Operation(Vector4 a, Vector4 b)
Parameters
Type | Name | Description |
---|---|---|
Vector4 | a | |
Vector4 | b |
Returns
Type | Description |
---|---|
Vector4 |
Overrides
Unity.VisualScripting.Average<UnityEngine.Vector4>.Operation(UnityEngine.Vector4, UnityEngine.Vector4)