Class Vector2Project
Returns the projection of a 2D vector on another.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Math/Vector 2")]
[UnitDisplay("Project")]
[Obsolete("Multiply the surface vector by the dot product of the two vectors instead.")]
public sealed class Vector2Project : Project<Vector2>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Methods
Operation(Vector2, Vector2)
Declaration
public override Vector2 Operation(Vector2 a, Vector2 b)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | a | |
Vector2 | b |
Returns
Type | Description |
---|---|
Vector2 |
Overrides
Ludiq.Bolt.Project<Vector2>.Operation(Vector2, Vector2)