 | Vector3XGetIntersectionOnPlane Method (Vector3, Vector3, Plane, Vector3) |
Gets the intersection with the specified plane.
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic static bool GetIntersectionOnPlane(
ref Vector3 origin,
ref Vector3 direction,
ref Plane p,
out Vector3 intersectionPoint
)
Parameters
- origin
- Type: Vector3
A point through which the line passes. - direction
- Type: Vector3
The direction of the line. - p
- Type: Plane
The Plane with which to intersect. - intersectionPoint
- Type: Vector3
The intersection point, if the method returns .
Return Value
Type:
Boolean if there was an intersection; otherwise,
.
See Also