VCL RAD DirectX for C++ Builder

Welcome to

www.tdxlibrary.org

Home of the
the TDx_Library...

=- RAD DirectX =-

"RAD DirectX"
for
C++ Builder

...

Welcome to tdxlibrary.org Latest News

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

Register our Tools Available Downloads

Frequently Asked Questions Links to other sites Information about the tdxlibrary.org website


    TDx_Input_Library v2.00 Component Reference

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

    [ TDx_Input_Library::TDIPeriodic ]     [ next: TDIPropDWORD ]     [ prev: TDIObjectDataFormat ]

    class TDIPeriodic : public TComponent
    class PACKAGE TDIPeriodic : public TComponent

    class type : Wrapper


    -= Go to the TDIPeriodic description =-    TDIPERIODIC   [ component ]

    • Description

      • The TDIPeriodic component wraps the DirectX DIPERIODIC structure which contains type specific information for force feedback effects that have the DIEFT_PERIODIC option set.

        This component is referenced by TDIEffect::TypeSpecificParams when it is being used to define a periodic effect.

        Periodic effects are waveforms that are usually used to achieve a shaking in the control device. You can apply an envelope to a periodic effect.

        To create a standard periodic effect pass one of the GUIDs below in the TDx_InputDevice::CreateEffect() Guid parameter.

        The standard waveform GUIDs are:

        GUID_Square - Feedback oscillates directly from maximum negative to maximum positive force.
        GUID_Sine - Feedback oscillates using a sine waveform pattern of smooth curves.
        GUID_Triangle - Feedback oscillates from positive to negative at a constant rate of force change.
        GUID_SawtoothUp - Feedback increases at a fixed rate then drops directly to the maximum negative magnitude and begins increasing again.
        GUID_SawtoothDown - Feedback decreases at a fixed rate then rises directly to the maximum positive magnitude and begins decreasing again.

        Magnitude is defined here, while the duration is defined by TDIEffect::Duration.

        A periodic force using an envelope will start its cycle at the attack level, relative to its phase, spend a specified duration moving towards the sustain level, stay at the sustain level for a specified period, then spend another period of time moving towards the fade level.


    • Properties
    • Methods
    • Events
    • SeeAlso
    • Top





    If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Links |  Site Information

This page is Copyright © 2019 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.