Share via


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

Constructs a plane from a point and a normal.

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 FromPointNormal( _
    ByVal pOut As Plane, _
    ByVal pPoint As Vector3, _
    ByVal pNormal As Vector3 _
) As Plane
C# public static Plane FromPointNormal(
    Plane pOut,
    Vector3 pPoint,
    Vector3 pNormal
);
C++ public:
static Plane FromPointNormal(
    Plane pOut,
    Vector3 pPoint,
    Vector3 pNormal
);
JScript public static function FromPointNormal(
    pOut : Plane,
    pPoint : Vector3,
    pNormal : Vector3
) : Plane;

Parameters

pOut Microsoft.DirectX.Plane
A Plane structure constructed from the point and the normal.
pPoint Microsoft.DirectX.Vector3
A Vector3 structure that defines the point used to construct the plane.
pNormal Microsoft.DirectX.Vector3
A Vector3 structure that defines the normal used to construct the plane.

Return Value

Microsoft.DirectX.Plane
A Plane structure constructed from the point and the normal.

Remarks

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

See Also