Function |
Syntax | CastStrengthSumRay( * The starting position.
- The ending position.
- For every pixel checked along the line, how many to skip between them for optimization reasons. 0 = every pixel is checked.
- A material ID to ignore, IN ADDITION to Air. )
|
Description: |
Traces along a vector and returns how the sum of all encountered pixels' material strength values. This will take wrapping into account. |
Returns | The sum of all encountered pixels' material strength vales. So if it was all Air, then 0 is returned (Air's strength value is 0). |