Class Vector3Distance
Returns the distance between two 3D vectors.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Vector 3")]
[UnitTitle("Distance")]
public sealed class Vector3Distance : Distance<Vector3>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Methods
Operation(Vector3, Vector3)
Declaration
public override float Operation(Vector3 a, Vector3 b)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | a | |
Vector3 | b |
Returns
Type | Description |
---|---|
Single |
Overrides
Unity.VisualScripting.Distance<UnityEngine.Vector3>.Operation(UnityEngine.Vector3, UnityEngine.Vector3)