UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSphericalSector Class Reference

#include <WorldPartitionStreamingSource.h>

Public Types

using FReal = FVector::FReal
 

Public Member Functions

 FSphericalSector (EForceInit)
 
 FSphericalSector (const FVector &InCenter, FReal InRadius)
 
 FSphericalSector (const FVector &InCenter, FReal InRadius, const FVector &InAxis, FReal InAngle)
 
void SetCenter (const FVector &InCenter)
 
const FVectorGetCenter () const
 
void SetRadius (FReal InRadius)
 
FReal GetRadius () const
 
void SetAngle (FReal InAngle)
 
FReal GetAngle () const
 
void SetAxis (const FVector &InAxis)
 
FVector GetAxis () const
 
FVector GetScaledAxis () const
 
void SetAsSphere ()
 
bool IsSphere () const
 
bool IsNearlyZero () const
 
bool IsValid () const
 
FBox CalcBounds () const
 
FSphericalSector TransformBy (const FTransform &M) const
 
TArray< TPair< FVector, FVector > > BuildDebugMesh () const
 
bool IntersectsBox (const FBox2D &InBox) const
 

Detailed Description

Member Typedef Documentation

◆ FReal

Constructor & Destructor Documentation

◆ FSphericalSector() [1/3]

FSphericalSector::FSphericalSector ( EForceInit  )
inline

Creates and initializes a new spherical sector.

◆ FSphericalSector() [2/3]

FSphericalSector::FSphericalSector ( const FVector InCenter,
FReal  InRadius 
)
inline

Creates and initializes a spherical sector using given parameters.

◆ FSphericalSector() [3/3]

FSphericalSector::FSphericalSector ( const FVector InCenter,
FReal  InRadius,
const FVector InAxis,
FReal  InAngle 
)
inline

Creates and initializes a spherical sector using given parameters.

Member Function Documentation

◆ BuildDebugMesh()

TArray< TPair< FVector, FVector > > FSphericalSector::BuildDebugMesh ( ) const

Helper method that builds a list of debug display segments

◆ CalcBounds()

FBox FSphericalSector::CalcBounds ( ) const
inline

◆ GetAngle()

FReal FSphericalSector::GetAngle ( ) const
inline

◆ GetAxis()

FVector FSphericalSector::GetAxis ( ) const
inline

◆ GetCenter()

const FVector & FSphericalSector::GetCenter ( ) const
inline

◆ GetRadius()

FReal FSphericalSector::GetRadius ( ) const
inline

◆ GetScaledAxis()

FVector FSphericalSector::GetScaledAxis ( ) const
inline

◆ IntersectsBox()

bool FSphericalSector::IntersectsBox ( const FBox2D InBox) const

Returns whether spherical sector intersects 2D box

◆ IsNearlyZero()

bool FSphericalSector::IsNearlyZero ( ) const
inline

◆ IsSphere()

bool FSphericalSector::IsSphere ( ) const
inline

◆ IsValid()

bool FSphericalSector::IsValid ( ) const
inline

◆ SetAngle()

void FSphericalSector::SetAngle ( FReal  InAngle)
inline

◆ SetAsSphere()

void FSphericalSector::SetAsSphere ( )
inline

◆ SetAxis()

void FSphericalSector::SetAxis ( const FVector InAxis)
inline

◆ SetCenter()

void FSphericalSector::SetCenter ( const FVector InCenter)
inline

◆ SetRadius()

void FSphericalSector::SetRadius ( FReal  InRadius)
inline

◆ TransformBy()

FSphericalSector FSphericalSector::TransformBy ( const FTransform M) const
inline

Get result of Transforming spherical sector with transform.


The documentation for this class was generated from the following files: