Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- UDrawFrustumComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Components/DrawFrustumComponent.h |
Include | #include "Components/DrawFrustumComponent.h" |
Syntax
class UDrawFrustumComponent : public UPrimitiveComponent
Remarks
Utility component for drawing a view frustum. Origin is at the component location, frustum points down position X axis.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bFrustumEnabled | Enable or disable frustum visualization for this camera. |
![]() |
float | FrustumAngle | Angle of longest dimension of view shape. If the angle is 0 then an orthographic projection is used |
![]() |
float | FrustumAspectRatio | Ratio of horizontal size over vertical size. |
![]() |
FColor | FrustumColor | Color to draw the wireframe frustum. |
![]() |
float | FrustumEndDist | Distance from origin to stop drawing the frustum. |
![]() |
float | FrustumStartDist | Distance from origin to start drawing the frustum. |
![]() |
TObjectPtr< class UTexture > | Texture | Optional texture to show on the near plane |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UDrawFrustumComponent
(
const FObjectInitializer& ObjectInitializer |
Overridden from UPrimitiveComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FPrimitiveSceneProxy * | Creates a proxy to represent the primitive to the scene manager in the rendering thread. | |
![]() ![]() ![]() |
bool | Whether or not the bounds of this component should be considered when focusing the editor camera to an actor with this component in it. |
Overridden from USceneComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FBoxSphereBounds | CalcBounds
(
const FTransform& LocalToWorld |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |