27 Slicer 27 Slicer
Search Results for

    Show / Hide Table of Contents

    Method CalculateBounds

    CalculateBounds(List<Vector3>, Matrix4x4)

    Calculates the bounds that encapsulates all of the vectors after they have been transformed by the supplied matrix.

    Declaration
    public static Bounds CalculateBounds(List<Vector3> vectors, Matrix4x4 matrix)
    Parameters
    TypeNameDescription
    List<Vector3>vectors

    The vectors to encapsulate into the returned bounds.

    Matrix4x4matrix

    The matrix to transform all of the vectors by.

    Returns
    TypeDescription
    Bounds

    The bounds that contains all of the transformed vectors.

      ☀
      ☾
      In This Article
      • CalculateBounds(List<Vector3>, Matrix4x4)
      Back to top
      27 Slicer documentation | Copyright 2021 Deftly Games
      ☀
      ☾