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

3D Sphere represented by Center and Radius. @note The full C++ class is located here: Engine\Source\Runtime\Core\Public\Math\Sphere.h More...

Public Member Functions

Functions
FSphere & opAddAssign (FSphere Other)
bool Equals (FSphere Sphere, float Tolerance=KINDA_SMALL_NUMBER) const
bool IsInside (FSphere Other, float Tolerance=KINDA_SMALL_NUMBER) const
bool IsInside (FVector In, float Tolerance=KINDA_SMALL_NUMBER) const
bool Intersects (FSphere Other, float Tolerance=KINDA_SMALL_NUMBER) const
FSphere TransformBy (FTransform M) const
float32 GetVolume () const
FSphere opAdd (FSphere Other) const

Public Attributes

Sphere
FVector Center
float W
Variables
const float32 Volume

Detailed Description

3D Sphere represented by Center and Radius. @note The full C++ class is located here: Engine\Source\Runtime\Core\Public\Math\Sphere.h

Member Function Documentation

◆ Equals()

bool Equals ( FSphere Sphere,
float Tolerance = KINDA_SMALL_NUMBER ) const

◆ GetVolume()

float32 GetVolume ( ) const

◆ Intersects()

bool Intersects ( FSphere Other,
float Tolerance = KINDA_SMALL_NUMBER ) const

◆ IsInside() [1/2]

bool IsInside ( FSphere Other,
float Tolerance = KINDA_SMALL_NUMBER ) const

◆ IsInside() [2/2]

bool IsInside ( FVector In,
float Tolerance = KINDA_SMALL_NUMBER ) const

◆ opAdd()

FSphere opAdd ( FSphere Other) const

◆ opAddAssign()

FSphere & opAddAssign ( FSphere Other)

◆ TransformBy()

FSphere TransformBy ( FTransform M) const

Member Data Documentation

◆ Center

FVector Center

◆ Volume

const float32 Volume

◆ W

float W