docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Transform

    Transform(float4x4, AABB)

    Transforms an AABB by a 4x4 transformation matrix, and returns a new AABB that contains the transformed AABB completely.

    Declaration
    public static AABB Transform(float4x4 transform, AABB localBounds)
    Parameters
    Type Name Description
    float4x4 transform

    The 4x4 transformation matrix, with which to transform the AABB

    AABB localBounds

    The AABB to transform by the matrix

    Returns
    Type Description
    AABB

    A new AABB that contains the transformed AABB.

    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)