docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class BoundsUtils

    Bounds related utilities

    Inheritance
    object
    BoundsUtils
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.XR.CoreUtils
    Assembly: solution.dll
    Syntax
    public static class BoundsUtils

    Methods

    Name Description
    GetBounds(List<GameObject>)

    Get the aggregated bounds of a list of GameObjects and their children.

    GetBounds(List<Renderer>)

    Get the aggregated bounds of a list of renderers.

    GetBounds(List<Vector3>)

    Gets the bounds that encapsulate a list of points.

    GetBounds(Transform)

    Get the aggregated bounds of a transform and its children.

    GetBounds(Transform[])

    Get the aggregated bounds of an array of transforms and their children.

    GetBounds<T>(List<T>)

    Get the aggregated bounds of a list of colliders.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)