Microsoft DirectX 9.0 SDK Update (October 2004)

UnsafeNativeMethods.Plane.Scale Method

Language:

Note: This documentation is preliminary and is subject to change.

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 .NET 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
);
Managed C++ public: static Plane Scale(
    Plane pOut,
    Plane pPlane,
    float s
);
JScript .NET 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. Resultantly, the Scale method can be used as a parameter for another method.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center