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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023