We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 533077b + 87bb861 commit 92e2535Copy full SHA for 92e2535
articles/remote-rendering/overview/features/spatial-queries.md
@@ -56,8 +56,7 @@ void CastRay(ApiHandle<RenderingSession> session)
56
// trace a line from the origin into the +z direction, over 10 units of distance.
57
RayCast rayCast;
58
rayCast.StartPos = {0, 0, 0};
59
- rayCast.EndPos = {0, 0, 1};
60
- rayCast.MaxHits = 10;
+ rayCast.EndPos = {0, 0, 10};
61
62
// only return the closest hit
63
rayCast.HitCollection = HitCollectionPolicy::ClosestHit;
0 commit comments