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] Box Extent: Holds the extent of the bounding box, which is half the size of the box in 3D space

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

  • sphere_radius (double): [Read-Write] Sphere Radius: Holds the radius of the bounding sphere.

property box_extent: Vector

[Read-Write] Box Extent: 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] Origin: Holds the origin of the bounding box and sphere.

Type:

(Vector)

property sphere_radius: float

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

Type:

(double)