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::TDIFileEffect ]
[ next: TDIJoyState ]
[ prev: TDIEnvelope ]
class TDIFileEffect : public TComponent
class PACKAGE TDIFileEffect : public TComponent
class type : MultiWrapper
TDIFILEEFFECT
[ component ]
- Description
The TDIFileEffect component wraps multiple DirectX DIFILEEFFECT structures, which describe a force feedback effect stored or being written to a file.
This component is used by the TDx_InputDevice::WriteEffectToFile() and TDx_InputDevice::EnumEffectsInFile() methods when saving and retrieving effects.
To setup this component, first set the TDIFileEffect::ArraySize property, then set each property using array indexes, eg:
// create internal storage for 5 DIFILEEFFECT structures
DIFileEffect1->ArraySize = 5;
// fill each array with appropriate data
for (int i=0;i<5;i++)
{
DIFileEffect->FriendlyName[i] = "Chester Tester #"+IntToStr(i);
}
- Properties
- Methods
- Events
- SeeAlso
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|