Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Input_Library v2.00 Component Reference
|
|
[ TDIEffect::Direction ]
[ next: Duration ]
[ prev: AxesCount ]
public:
__property long* Direction = { read=FGetDirection, write=FSetDirection, default=NULL };
TDIEFFECT::DIRECTION
[ component property ]
- Description
The Direction property references an array of TDIEffect::AxesCount LONG's containing either cartesian, polar or spherical coordinates.
The setting of DIEFF_CARTESIAN, DIEFF_POLAR or DIEFF_SPHERICAL in TDIEffect::Flags will determine how the values contained in the array are interpreted.
Each value in the Direction array will be associated with the corresponding value in the TDIEffect::Axes array for cartesian coordinates.
Polar and spherical coordinates require one less element than cartesian coordinates to indicate direction but the Direction array must still contain TDIEffect::AxesCount elements, with the last element set to zero.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|