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. 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 (float): [Read-Write] Holds the radius of the bounding sphere.

property box_extent

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

Type

(Vector)

property origin

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

Type

(Vector)

property sphere_radius

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

Type

(float)