Class Vector4Lerp
Returns the linear interpolation between two 4D vectors.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Vector 4")]
[UnitTitle("Lerp")]
public sealed class Vector4Lerp : Lerp<Vector4>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
defaultA
Declaration
protected override Vector4 defaultA { get; }
Property Value
Type | Description |
---|---|
Vector4 |
Overrides
Unity.VisualScripting.Lerp<UnityEngine.Vector4>.defaultA
defaultB
Declaration
protected override Vector4 defaultB { get; }
Property Value
Type | Description |
---|---|
Vector4 |
Overrides
Unity.VisualScripting.Lerp<UnityEngine.Vector4>.defaultB
Methods
Operation(Vector4, Vector4, Single)
Declaration
public override Vector4 Operation(Vector4 a, Vector4 b, float t)
Parameters
Type | Name | Description |
---|---|---|
Vector4 | a | |
Vector4 | b | |
Single | t |
Returns
Type | Description |
---|---|
Vector4 |
Overrides
Unity.VisualScripting.Lerp<UnityEngine.Vector4>.Operation(UnityEngine.Vector4, UnityEngine.Vector4, System.Single)