| Vector3FProjectTo Method (Vector3F, Vector3F) |
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 Vector3F ProjectTo(
Vector3F vector,
Vector3F target
)
Public Shared Function ProjectTo (
vector As Vector3F,
target As Vector3F
) As Vector3F
public:
static Vector3F ProjectTo(
Vector3F vector,
Vector3F target
)
static member ProjectTo :
vector : Vector3F *
target : Vector3F -> Vector3F
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVector3F
The vector. - target
- Type: DigitalRune.Mathematics.AlgebraVector3F
The target vector.
Return Value
Type:
Vector3F
The projection of
vector onto
target.
See Also