docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Transform

    Transform(RigidTransform, MinMaxAABB)

    Transforms the AABB with the given transform.

    Declaration
    public static MinMaxAABB Transform(RigidTransform transform, MinMaxAABB aabb)
    Parameters
    Type Name Description
    RigidTransform transform

    Transform to apply to AABB.

    MinMaxAABB aabb

    AABB to be transformed.

    Returns
    Type Description
    MinMaxAABB

    Transformed AABB.

    Remarks

    The resulting AABB encapsulates the transformed AABB which may not be axis aligned after the transformation.

    Transform(float4x4, MinMaxAABB)

    Transforms the AABB with the given transform.

    Declaration
    public static MinMaxAABB Transform(float4x4 transform, MinMaxAABB aabb)
    Parameters
    Type Name Description
    float4x4 transform

    Transform to apply to AABB.

    MinMaxAABB aabb

    AABB to be transformed.

    Returns
    Type Description
    MinMaxAABB

    Transformed AABB.

    Remarks

    The resulting AABB encapsulates the transformed AABB which may not be axis aligned after the transformation.

    Transform(float3x3, MinMaxAABB)

    Transforms the AABB with the given transform.

    Declaration
    public static MinMaxAABB Transform(float3x3 transform, MinMaxAABB aabb)
    Parameters
    Type Name Description
    float3x3 transform

    Transform to apply to AABB.

    MinMaxAABB aabb

    AABB to be transformed.

    Returns
    Type Description
    MinMaxAABB

    Transformed AABB.

    Remarks

    The resulting AABB encapsulates the transformed AABB which may not be axis aligned after the transformation.

    In This Article
    Back to top
    Copyright © 2025 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)