Click or drag to resize

PlaneIntersectLine Method

Find intersection Vector3 on Plane of the line segment between two Vector3s

Namespace:  Microsoft.DirectX
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static Vector3 IntersectLine(
	Plane p,
	Vector3 v1,
	Vector3 v2
)

Parameters

p
Type: Microsoft.DirectXPlane
Source Plane
v1
Type: Microsoft.DirectXVector3
Start Vector3 of line segment
v2
Type: Microsoft.DirectXVector3
End Vector3 of line segment

Return Value

Type: Vector3
Intersection Vector3
See Also