Click or drag to resize

UtilProjectPointToPlane Method

Project a point onto a plane.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static Vector3 ProjectPointToPlane(
	Vector3 PointToProject,
	Vector3 PlaneNormal,
	Vector3 PointOnPlane
)

Parameters

PointToProject
Type: Microsoft.DirectXVector3
The point to project.
PlaneNormal
Type: Microsoft.DirectXVector3
The normal to the plane.
PointOnPlane
Type: Microsoft.DirectXVector3
A point on the plane.

Return Value

Type: Vector3
The projected point.
See Also