Share via


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

Scales the plane with a given scaling factor.

Definition

Visual Basic Public Shared Function Scale( _
    ByVal p As Plane, _
    ByVal s As Single _
) As Plane
C# public static Plane Scale(
    Plane p,
    float s
);
C++ public:
static Plane Scale(
    Plane p,
    float s
);
JScript public static function Scale(
    p : Plane,
    s : float
) : Plane;

Parameters

p 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.