www.BCB-Tools.com
Home of
RAD DirectX
for
C++ Builder
...
...
Please Register
So we can
create more
the TDx_Library
the TDx9_Library
|
TDx_Input_Library v1.90 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: admin@bcb-tools.com.
|
|