func SingleRaycast(startPosition Vector3, direction Vector3, distance float, layerMask List<int>, includeTrigger bool, out var hitEntities entity<Entity>, out var hitPoints Vector3, out var hitDistances float, out var hitNormals Vector3)
go
| नाम |
टाइप |
विवरण |
| Start Position |
Vector3 |
Start position coordinate |
| Direction |
Vector3 |
Direction of ray detection |
| Distance |
Float |
Ray detection distance, only positive values are accepted |
| Layer Mask |
ListT_int |
Ray detection layer mask, only filled layers will participate in the scan, leaving it blank means all layers participate in the scan |
| Include Trigger |
Bool |
Whether triggers can be detected |
| नाम |
टाइप |
विवरण |
| Hit Entities |
Entity |
hit entity |
| Hit Points |
Vector3 |
hit point coordinates |
| Hit Distances |
Float |
Distance of hit point from start point |
| Hit Normals |
Vector3 |
Hit surface normal vector |