www.BCB-Tools.com

Home of
RAD DirectX
for
C++ Builder

...

C++ Builder wrapping DirectX

...

Please Register

So we can
create more

the TDx_Library
the TDx9_Library



Welcome to BCB-Tools.com Latest News

Development Tools Demo Applications Step-by-Step Tutorials Component Reference

Register Here! Available Downloads

Frequently Asked Questions Discussion Forums Receive emails from BCB-Tools.com Send us some Feedback

Links to other sites Information about the BCB-Tools.com website


    TDx_3DI_Library v1.90 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDx_3DDevice::SetClipPlane() ]     [ next: SetClipStatus() ]     [ prev: PreLoad() ]

    public:

         virtual bool __fastcall SetClipPlane( dword pIndex, D3DVALUE* pPlaneEquation );





    -= Go to the TDx_3DDevice description =-    TDX_3DDEVICE::SETCLIPPLANE()   [ component method ]

    • Description

        The TDx_3DDevice::SetClipPlane() method allows the application to define the clipping plane coefficients for this device.

        The plane equation exists in world space and the coefficients should take the form of the general plane equation.
        Eg: If values A, B, C, and D were specified in PlaneEquation they should fit the general plane equation such that Ax + By + Cz + D = 0.
        A homogeneous coordinate point (x, y, z, w) will be visible where Ax + By + Cz + Dw >= 0.

        If the method call fails, the OnError event will be triggered with one of the following values:
        DDERR_INVALIDPARAMS

    • Parameters

        Index
        The Index parameter identifies the clipping plane for which the coefficients are being set.

        PlaneEquation
        The PlaneEquation parameter references a 4 element floating point array holding the coefficients to be set for the clipping plane indicated by the Index parameter.


    • See Also
    • Top





    If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Forums |  Feedback |  Mailing List |  Links |  Site Information

This page is Copyright © 2008 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.