Share via


UnsafeNativeMethods.Plane.FromPoints(Plane,Vector3,Vector3,Vector3) Method (Microsoft.DirectX)

Constructs a plane from three points.

Note: For programming in Microsoft Visual Basic .NET or Microsoft JScript .NET, use the equivalent method in the Microsoft.DirectX structures.

Definition

Visual Basic Public Shared Function FromPoints( _
    ByVal pOut As Plane, _
    ByVal pPoint1 As Vector3, _
    ByVal pPoint2 As Vector3, _
    ByVal pPoint3 As Vector3 _
) As Plane
C# public static Plane FromPoints(
    Plane pOut,
    Vector3 pPoint1,
    Vector3 pPoint2,
    Vector3 pPoint3
);
C++ public:
static Plane FromPoints(
    Plane pOut,
    Vector3 pPoint1,
    Vector3 pPoint2,
    Vector3 pPoint3
);
JScript public static function FromPoints(
    pOut : Plane,
    pPoint1 : Vector3,
    pPoint2 : Vector3,
    pPoint3 : Vector3
) : Plane;

Parameters

pOut Microsoft.DirectX.Plane
A Plane structure constructed from the given points.
pPoint1 Microsoft.DirectX.Vector3
A Vector3 structure that defines one of the points used to construct the plane.
pPoint2 Microsoft.DirectX.Vector3
A Vector3 structure that defines one of the points used to construct the plane.
pPoint3 Microsoft.DirectX.Vector3
A Vector3 structure that defines one of the points used to construct the plane.

Return Value

Microsoft.DirectX.Plane
A Plane structure constructed from the given points.

Remarks

The return value for this method is the same value returned in the pOut parameter. This allows you to use the FromPoints method as a parameter for another method.

See Also