Isovist Ray
00000000-5b81-4e7a-8c2f-9d3a6f1b08c5
Sample inputline · item · requiredSampling ray. Its start is the origin and its direction the cast direction.Radius inputnumber · item · optionalSample radius.Obstacles inputlist · requiredObstacles to sample against (curves, planes, surfaces and meshes are supported).Mode inputinteger · item · requiredRay casting accuracy. Accurate uses exact surface intersections; Fast meshes surfaces for speed.Point outputpoint3 · itemPoint where the sample ray stops, either at an intersection or at the horizon.Ray outputvector · itemRay vector from the origin to the sample point.Distance outputnumber · itemDistance from the origin to the sample point.Index outputinteger · itemIndex of the obstacle hit, or -1 if no obstacle was hit.⚠️ This content is auto-generated.
Compute a single isovist sample by casting one ray into a collection of obstacles.
- Sm → Sampling ray. Its start is the origin and its direction the cast direction.
- Rd → Sample radius.
- Ob → Obstacles to sample against (curves, planes, surfaces and meshes are supported).
- Md → Ray casting accuracy. Accurate uses exact surface intersections; Fast meshes surfaces for speed.
0→ Accurate1→ Fast