| Vector4FProjectTo Method (Vector4F, Vector4F) |
Projects a vector onto an axis given by the target vector.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Vector4F ProjectTo(
Vector4F vector,
Vector4F target
)
Public Shared Function ProjectTo (
vector As Vector4F,
target As Vector4F
) As Vector4F
public:
static Vector4F ProjectTo(
Vector4F vector,
Vector4F target
)
static member ProjectTo :
vector : Vector4F *
target : Vector4F -> Vector4F
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVector4F
The vector. - target
- Type: DigitalRune.Mathematics.AlgebraVector4F
The target vector.
Return Value
Type:
Vector4F
The projection of
vector onto
target.
See Also