G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FBoxSphereBounds3f Struct Reference

A bounding box and bounding sphere with the same origin. @note The full C++ class is located here : Engine\Source\Runtime\Core\Public\Math\BoxSphereBounds.h. More...

Public Member Functions

Functions
FSphere3f GetSphere () const
bool opEquals (FBoxSphereBounds3f Other) const
float32 ComputeSquaredDistanceFromBoxToPoint (FVector3f Point) const
FBox3f GetBox () const
FVector3f GetBoxExtrema (uint Extrema) const
FBoxSphereBounds3f opAdd (FBoxSphereBounds3f Other) const
FBoxSphereBounds3f ExpandBy (float32 ExpandAmount) const
FBoxSphereBounds3f TransformBy (FTransform3f M) const
FString ToString () const

Static Public Member Functions

Static Functions
static bool BoxesIntersect (FBoxSphereBounds3f A, FBoxSphereBounds3f B)
static bool SpheresIntersect (FBoxSphereBounds3f A, FBoxSphereBounds3f B, float32 Tolerance=KINDA_SMALL_NUMBER)

Public Attributes

BoxSphereBounds
FVector3f BoxExtent
 Holds the extent of the bounding box, which is half the size of the box in 3D space.
float32 SphereRadius
 Holds the radius of the bounding sphere.
FVector3f Origin
 Holds the origin of the bounding box and sphere.
Variables
const FSphere3f Sphere
const FBox3f Box

Detailed Description

A bounding box and bounding sphere with the same origin. @note The full C++ class is located here : Engine\Source\Runtime\Core\Public\Math\BoxSphereBounds.h.

Member Function Documentation

◆ BoxesIntersect()

bool BoxesIntersect ( FBoxSphereBounds3f A,
FBoxSphereBounds3f B )
static

◆ ComputeSquaredDistanceFromBoxToPoint()

float32 ComputeSquaredDistanceFromBoxToPoint ( FVector3f Point) const

◆ ExpandBy()

FBoxSphereBounds3f ExpandBy ( float32 ExpandAmount) const

◆ GetBox()

FBox3f GetBox ( ) const

◆ GetBoxExtrema()

FVector3f GetBoxExtrema ( uint Extrema) const

◆ GetSphere()

FSphere3f GetSphere ( ) const

◆ opAdd()

FBoxSphereBounds3f opAdd ( FBoxSphereBounds3f Other) const

◆ opEquals()

bool opEquals ( FBoxSphereBounds3f Other) const

◆ SpheresIntersect()

bool SpheresIntersect ( FBoxSphereBounds3f A,
FBoxSphereBounds3f B,
float32 Tolerance = KINDA_SMALL_NUMBER )
static

◆ ToString()

FString ToString ( ) const

◆ TransformBy()

FBoxSphereBounds3f TransformBy ( FTransform3f M) const

Member Data Documentation

◆ Box

const FBox3f Box

◆ BoxExtent

FVector3f BoxExtent

Holds the extent of the bounding box, which is half the size of the box in 3D space.

◆ Origin

FVector3f Origin

Holds the origin of the bounding box and sphere.

◆ Sphere

const FSphere3f Sphere

◆ SphereRadius

float32 SphereRadius

Holds the radius of the bounding sphere.