Search Results for

    Show / Hide Table of Contents

    Class ObjectBounds

    Inheritance
    Object
    ObjectBounds
    Namespace: i5.Toolkit.Core.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public static class ObjectBounds

    Methods

    GetComposedRendererBounds(GameObject)

    Calculates the composed overall bounds of renderers in a parent object including all its child objects

    Declaration
    public static Bounds GetComposedRendererBounds(GameObject gameObject)
    Parameters
    Type Name Description
    GameObject gameObject

    The parent object at which the calculation should start

    Returns
    Type Description
    Bounds

    Returns the bounds of the renderers of the GameObject and its children

    In This Article
    Back to top i5 Toolkit Documentation