|
BaseCameraGetMousePositionOnPlane Method |
GetMousePositionOnPlane calculates a position where a ray from mouse position intersects a plane. Returns false if there is no intersection.
Namespace: Ab3d.CamerasAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public bool GetMousePositionOnPlane(
Point mousePosition,
Point3D pointOnPlane,
Vector3D planeNormal,
out Point3D intersectionPoint
)
Parameters
- mousePosition Point
- mouse position
- pointOnPlane Point3D
- Point3D that lies on the plane
- planeNormal Vector3D
- normal vector (perpendicular to the plane) that defines the orientation of the plane
- intersectionPoint Point3D
- returned intersection position
Return Value
BooleanReturns false if there is no intersection
See Also