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