Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/WorldPartition
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/WorldPartition/WorldPartitionStreamingSource.h |
| Include | #include "WorldPartition/WorldPartitionStreamingSource.h" |
Syntax
class FSphericalSector
Remarks
See https://en.wikipedia.org/wiki/Spherical_sector.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Creates and initializes a new spherical sector. | |||
FSphericalSector
(
const FVector& InCenter, |
Creates and initializes a spherical sector using given parameters. | ||
FSphericalSector
(
const FVector& InCenter, |
Creates and initializes a spherical sector using given parameters. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< TPair< FVector, FVector > > | Helper method that builds a list of debug display segments | ||
| FBox | CalcBounds () |
||
| FReal | GetAngle () |
||
| FVector | GetAxis () |
||
| const FVector & | GetCenter () |
||
| FReal | GetRadius () |
||
| FVector | |||
| bool | IntersectsBox
(
const FBox2D& InBox |
Returns whether spherical sector intersects 2D box | |
| bool | IsNearlyZero () |
||
| bool | IsSphere () |
||
| bool | IsValid () |
||
| void | |||
| void | SetAsSphere () |
||
| void | |||
| void | |||
| void | |||
| FSphericalSector | TransformBy
(
const FTransform& M |
Get result of Transforming spherical sector with transform. |
Typedefs
| Name | Description |
|---|---|
| FReal |