Navigation
API > API/Runtime > API/Runtime/Engine
See https://en.wikipedia.org/wiki/Spherical_sector.
| Name | FSphericalSector |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldPartition/WorldPartitionStreamingSource.h |
| Include Path | #include "WorldPartition/WorldPartitionStreamingSource.h" |
Syntax
class FSphericalSector
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Creates and initializes a new spherical sector. | WorldPartition/WorldPartitionStreamingSource.h | ||
FSphericalSector
(
const FVector& InCenter, |
Creates and initializes a spherical sector using given parameters. | WorldPartition/WorldPartitionStreamingSource.h | |
FSphericalSector
(
const FVector& InCenter, |
Creates and initializes a spherical sector using given parameters. | WorldPartition/WorldPartitionStreamingSource.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FReal | FVector::FReal | WorldPartition/WorldPartitionStreamingSource.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Angle | FReal | Optional sector angle in degree (360 = regular sphere). | WorldPartition/WorldPartitionStreamingSource.h | |
| Axis | FVector | Sector axis (direction). | WorldPartition/WorldPartitionStreamingSource.h | |
| Center | FVector | Sphere center point. | WorldPartition/WorldPartitionStreamingSource.h | |
| Radius | FReal | Sphere radius. | WorldPartition/WorldPartitionStreamingSource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< TPair< FVector, FVector > > BuildDebugMesh() |
Helper method that builds a list of debug display segments | WorldPartition/WorldPartitionStreamingSource.h | |
FBox CalcBounds() |
WorldPartition/WorldPartitionStreamingSource.h | ||
FReal GetAngle() |
WorldPartition/WorldPartitionStreamingSource.h | ||
FVector GetAxis() |
WorldPartition/WorldPartitionStreamingSource.h | ||
const FVector & GetCenter() |
WorldPartition/WorldPartitionStreamingSource.h | ||
FReal GetRadius() |
WorldPartition/WorldPartitionStreamingSource.h | ||
FVector GetScaledAxis() |
WorldPartition/WorldPartitionStreamingSource.h | ||
bool IntersectsBox
(
const FBox2D& InBox |
Returns whether spherical sector intersects 2D box | WorldPartition/WorldPartitionStreamingSource.h | |
bool IsNearlyZero() |
WorldPartition/WorldPartitionStreamingSource.h | ||
bool IsSphere() |
WorldPartition/WorldPartitionStreamingSource.h | ||
bool IsValid() |
WorldPartition/WorldPartitionStreamingSource.h | ||
void SetAngle
(
FReal InAngle |
WorldPartition/WorldPartitionStreamingSource.h | ||
void SetAsSphere() |
WorldPartition/WorldPartitionStreamingSource.h | ||
void SetAxis
(
const FVector& InAxis |
WorldPartition/WorldPartitionStreamingSource.h | ||
void SetCenter
(
const FVector& InCenter |
WorldPartition/WorldPartitionStreamingSource.h | ||
void SetRadius
(
FReal InRadius |
WorldPartition/WorldPartitionStreamingSource.h | ||
FSphericalSector TransformBy
(
const FTransform& M |
Get result of Transforming spherical sector with transform. | WorldPartition/WorldPartitionStreamingSource.h |