UtilProjectPointToPlane Method |
Project a point onto a plane.
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static Vector3 ProjectPointToPlane(
Vector3 PointToProject,
Vector3 PlaneNormal,
Vector3 PointOnPlane
)
Parameters
- PointToProject Vector3
- The point to project.
- PlaneNormal Vector3
- The normal to the plane.
- PointOnPlane Vector3
- A point on the plane.
Return Value
Vector3The projected point.
See Also