Click or drag to resize

UtilProject Method

Projects the vector v in the direction of the unit normal unitNormal.

Namespace: Demo3D.Common
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntax
C#
public static Vector3 Project(
	Vector3 v,
	Vector3 unitNormal
)

Parameters

v  Vector3
The vector that is to be projected.
unitNormal  Vector3
The direction in which the vector is to be projected (must be a unit vector).

Return Value

Vector3
The vector after being projected in the specified direction.
See Also