unreal.BoxSphereBounds

class unreal.BoxSphereBounds(origin=[0.0, 0.0, 0.0], box_extent=[0.0, 0.0, 0.0], sphere_radius=0.0)

Bases: unreal.StructBase

A bounding box and bounding sphere with the same origin. The full C++ class is located here : EngineSourceRuntimeCorePublicMathBoxSphereBounds.h:

C++ Source:

  • Module: CoreUObject
  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • box_extent (Vector): [Read-Write] Holds the extent of the bounding box, which is half the size of the box in 3D space
  • origin (Vector): [Read-Write] Holds the origin of the bounding box and sphere.
  • sphere_radius (float): [Read-Write] Holds the radius of the bounding sphere.
box_extent

(Vector) – [Read-Write] Holds the extent of the bounding box, which is half the size of the box in 3D space

origin

(Vector) – [Read-Write] Holds the origin of the bounding box and sphere.

sphere_radius

(float) – [Read-Write] Holds the radius of the bounding sphere.