Class Vector3Sum
Returns the sum of two or more 3D vectors.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Vector 3")]
[UnitTitle("Add")]
public sealed class Vector3Sum : Sum<Vector3>, IMultiInputUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IDefaultValue<Vector3>
Properties
defaultValue
Declaration
[DoNotSerialize]
public Vector3 defaultValue { get; }
Property Value
Type | Description |
---|---|
Vector3 |
Implements
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.Sum<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.Sum<UnityEngine.Vector3>.Operation(UnityEngine.Vector3, UnityEngine.Vector3)