Zinnia.Unity icon indicating copy to clipboard operation
Zinnia.Unity copied to clipboard

Draw boundary geometry

Open bddckr opened this issue 7 years ago • 1 comments

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.

bddckr avatar Nov 11 '18 09:11 bddckr

https://docs.unity3d.com/2019.4/Documentation/ScriptReference/XR.XRInputSubsystem.TryGetBoundaryPoints.html

fight4dream avatar Feb 05 '22 15:02 fight4dream