|
Get2dCompFromVector
|
| Searches for the first component in a particular direction, returning the component and setting the distance to it
|
- HANDLE
|
Origin
|
| The search starts from the centrepoint of this component
|
- FLOAT
|
X
|
| The x component of the vector direction to search
|
- FLOAT
|
Y
|
| The y component of the vector direction to search
|
- BOOL
|
UsePixels
|
| If true, 'Distance' and 'MaxDistance' represent a pixel size; If false, they are number of vector iterations
|
- FLOAT
|
MaxDistance
|
| The maximum distance (or vector iterations) to search
|
- FLOAT
|
Distance
|
| The returned distance (or vector iterations) to the hit component
|
- HANDLE
|
Return
|