Share via


UnsafeNativeMethods.Plane.Normalize(Plane,Plane) Method (Microsoft.DirectX)

Returns the normal of a plane.

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

Parameters

pOut Microsoft.DirectX.Plane
A Plane structure that represents the normal of the plane.
pPlane Microsoft.DirectX.Plane
Source Plane structure.

Return Value

Microsoft.DirectX.Plane
A Plane structure that represents the normal of the plane.

Remarks

This method normalizes a plane so that |a, b, c| == 1.

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

See Also