func MultiRaycast(startPosition Vector3, direction Vector3, distance float, layerMask List<int>, includeTrigger bool, out var hitEntities List<entity<Entity>>, out var hitPoints List<Vector3>, out var hitDistances List<float>, out var hitNormals List<Vector3>)
go
| Name |
Type |
Description |
| Start Position |
Vector3 |
Starting position coordinates |
| Direction |
Vector3 |
Ray detection direction |
| Distance |
Float |
Ray detection distance, only positive values are accepted |
| Layer Mask |
ListT_int |
Layer mask, only the filled layers will participate in the scan, leaving it blank means all layers will participate in the scan |
| Include Trigger |
Bool |
Whether the trigger can be detected |
| Name |
Type |
Description |
| Hit Entities |
ListT_Entity |
List of entities hit |
| Hit Points |
ListT_Vector3 |
List of hit points |
| Hit Distances |
ListT_Float |
List of distances from the hit point to the start point |
| Hit Normals |
ListT_Vector3 |
Hit surface normal vector |