Share via


UnsafeNativeMethods.Plane.Scale(Plane,Plane,Single) Method (Microsoft.DirectX)

Scales the plane with a given scaling factor.

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

Parameters

pOut Microsoft.DirectX.Plane
The Plane structure that represents the scaled plane.
pPlane Microsoft.DirectX.Plane
Pointer to the source Plane structure.
s System.Single
Scale factor.

Return Value

Microsoft.DirectX.Plane
The Plane structure that represents the scaled plane.

Remarks

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

See Also