BrydenWoodUtilsProjectOnCurve Method |
Projects a point on the curve between 2 points
Namespace:
BrydenWoodUnity
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic static Vector3 ProjectOnCurve(
Vector3 start,
Vector3 end,
Vector3 myPoint
)
Public Shared Function ProjectOnCurve (
start As Vector3,
end As Vector3,
myPoint As Vector3
) As Vector3
public:
static Vector3 ProjectOnCurve(
Vector3 start,
Vector3 end,
Vector3 myPoint
)
static member ProjectOnCurve :
start : Vector3 *
end : Vector3 *
myPoint : Vector3 -> Vector3
Parameters
- start
- Type: Vector3
First point of curve - end
- Type: Vector3
Second point of curve - myPoint
- Type: Vector3
The point to project
Return Value
Type:
Vector3The projected point
See Also