docs.unity3d.com

    About XR Tools Utilities

    The XR Tools Utilities package contains a variety of classes and extension methods which are commonly used and shared between multiple packages. Some particularly useful utilities include:

    • Geometry Utilities
      • Point of closest approach
      • Closest edge of a polygon
      • Check if point inside of polygon
      • Compute 2D convex hull
    • Collection pool
    • Math Utilities
      • Bounds extensions
      • Quaternion extensions
    • Editor GUI
      • Flags Property Drawer
    • Scriptable Settings (serialized project settings)
    • Conditional Compilation Utility

    Installing XR Tools Utilities

    To install this package, follow the instructions in the Package Manager documentation.

    Using XR Tools Utilities

    This contains entirely C# code. Refer to the API documentation for details.

    Technical details

    Requirements

    This version of the XR Tools Utilities package is compatible with the following versions of the Unity Editor:

    • 2018.4+

    Document revision history

    Date Reason
    November 14, 2019 First Official version of package.
    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use