ModelBoundingBox

Model bounding box

Parameters

minX

min-x

minY

min-y

minZ

min-z

maxX

max-x

maxY

max-y

maxZ

max-z

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Min hitbox size

Functions

Link copied to clipboard
@NotNull
open fun center(): @NotNull ModelBoundingBox
Gets centered bounding box
Link copied to clipboard
@NotNull
open fun centerPoint(): @NotNull Vector3d
Gets center vector point
Link copied to clipboard
open fun centerY(): Double
Gets center y
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@NotNull
open fun invert(): @NotNull ModelBoundingBox
Inverts xz axis of this bounding box
Link copied to clipboard
open fun length(): Double
Gets length of bounding box
Link copied to clipboard
open fun lengthZX(): Double
Gets zx length of bounding box
Link copied to clipboard
@NotNull
open fun max(): @NotNull Vector3d
Gets max position as vector
Link copied to clipboard
@NotNull
open fun min(): @NotNull Vector3d
Gets min position as vector
Link copied to clipboard
@NotNull
open fun named(@NotNull name: @NotNull BoneName): @NotNull NamedBoundingBox
Gets bounding box with name
Link copied to clipboard
@NotNull
open fun of(@NotNull min: @NotNull Vector3d, @NotNull max: @NotNull Vector3d): @NotNull ModelBoundingBox
@NotNull
open fun of(x: Double, y: Double, z: Double): @NotNull ModelBoundingBox
@NotNull
open fun of(minX: Double, minY: Double, minZ: Double, maxX: Double, maxY: Double, maxZ: Double): @NotNull ModelBoundingBox
Creates bounding box
Link copied to clipboard
@NotNull
open fun rotate(@NotNull quaterniond: @NotNull Quaterniond): @NotNull ModelBoundingBox
Rotates this bounding box
Link copied to clipboard
@NotNull
open fun times(scale: Double): @NotNull ModelBoundingBox
Gets scaled bounding box
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
open fun x(): Double
Gets x
Link copied to clipboard
open fun y(): Double
Gets y
Link copied to clipboard
open fun z(): Double
Gets z