Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

GeometryUtility.CalculateBounds

public static Bounds CalculateBounds(Vector3[] positions, Matrix4x4 transform);

Description

Calculates a bounding box given an array of positions and a transformation matrix.

Did you find this page useful? Please give it a rating: