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