unreal.BoxSphereBounds

class unreal.BoxSphereBounds(origin: Vector = Ellipsis, box_extent: Vector = Ellipsis, sphere_radius: float = 0.0)

Bases: StructBase

A bounding box and bounding sphere with the same origin. note: 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 (double): [Read-Write] Holds the radius of the bounding sphere.

property box_extent: Vector

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

Type:

(Vector)

property origin: Vector

[Read-Write] Holds the origin of the bounding box and sphere.

Type:

(Vector)

property sphere_radius: float

[Read-Write] Holds the radius of the bounding sphere.

Type:

(double)