BoundingBox


class BoundingBox


Represents an axis-aligned bounding box in 3D space, defined by its minimum and maximum corner points.

Summary

Public constructors

BoundingBox(min: Vector3, max: Vector3)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Vector3

A Vector3 representing the maximum corner of the box (highest x, y, and z values).

Vector3

A Vector3 representing the minimum corner of the box (lowest x, y, and z values).

Public constructors

BoundingBox

Added in 1.0.0-alpha05
BoundingBox(min: Vector3, max: Vector3)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

max

Added in 1.0.0-alpha05
val maxVector3

A Vector3 representing the maximum corner of the box (highest x, y, and z values).

min

Added in 1.0.0-alpha05
val minVector3

A Vector3 representing the minimum corner of the box (lowest x, y, and z values).