Class Vector4MoveTowards
Moves a 4D vector towards a target.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Vector 4")]
[UnitTitle("Move Towards")]
public sealed class Vector4MoveTowards : MoveTowards<Vector4>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
defaultCurrent
Declaration
protected override Vector4 defaultCurrent { get; }
Property Value
Type | Description |
---|---|
Vector4 |
Overrides
Unity.VisualScripting.MoveTowards<UnityEngine.Vector4>.defaultCurrent
defaultTarget
Declaration
protected override Vector4 defaultTarget { get; }
Property Value
Type | Description |
---|---|
Vector4 |
Overrides
Unity.VisualScripting.MoveTowards<UnityEngine.Vector4>.defaultTarget
Methods
Operation(Vector4, Vector4, Single)
Declaration
public override Vector4 Operation(Vector4 current, Vector4 target, float maxDelta)
Parameters
Type | Name | Description |
---|---|---|
Vector4 | current | |
Vector4 | target | |
Single | maxDelta |
Returns
Type | Description |
---|---|
Vector4 |
Overrides
Unity.VisualScripting.MoveTowards<UnityEngine.Vector4>.Operation(UnityEngine.Vector4, UnityEngine.Vector4, System.Single)