unreal.Box

class unreal.Box(min: Vector = Ellipsis, max: Vector = Ellipsis)

Bases: StructBase

A bounding box. note: The full C++ class is located here: EngineSourceRuntimeCorePublicMathBox.h

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • max (Vector): [Read-Write] Max

  • min (Vector): [Read-Write] Min

property max: Vector

[Read-Write] Max

Type:

(Vector)

property min: Vector

[Read-Write] Min

Type:

(Vector)

random_point_in_box_extents() Vector

Returns a random point within the specified bounding box.

Return type:

Vector