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