Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Input_Library v2.00 Component Reference
|
|
[ TDx_Input_Library::TDIRampForce ]
[ next: TDx_Input ]
[ prev: TDIPropString ]
class TDIRampForce : public TComponent
class PACKAGE TDIRampForce : public TComponent
class type : Wrapper
TDIRAMPFORCE
[ component ]
- Description
The TDIRampForce component wraps the DirectX DICONSTANTFORCE structure, which contains type specific information for force feedback effects that have the DIEFT_RAMPFORCE option set.
It is used to define a 'Ramp Force', which is a force that moves from one defined magnitude to another over a specified time period.
You can apply an envelope to a ramp force but not an offset.
Only the magnitudes are defined by this component, the duration is set in TDIEffect::Duration, which cannot be set to INFINITE for a ramp force.
Use this component by setting TDIEffect::TypeSpecificParams to refer to a single TDIRampForce component.
To create a ramp force, use the TDx_InputDevice::CreateEffect() method and pass the following as the GUID parameter:
GUID_RampForce
- Properties
- Methods
- Events
- SeeAlso
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|