Zinnia.Unity
Zinnia.Unity copied to clipboard
Draw boundary geometry
The idea here is to get the boundary geometry via UnityEngine.Experimental.XR.Boundary.TryGetGeometry() and feed it into PointsCast which then is used by a LineRenderer that ultimately draws the boundary geometry. This way more than just the play area rectangle is offered.
https://docs.unity3d.com/2019.4/Documentation/ScriptReference/XR.XRInputSubsystem.TryGetBoundaryPoints.html