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
नाम |
टाइप |
विवरण |
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 |