Navigation
API > API/Runtime > API/Runtime/Engine
The base interface used to query a primitive for its dynamic elements.
| Name | FPrimitiveDrawInterface |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/PrimitiveDrawInterface.h |
| Include Path | #include "PrimitiveDrawInterface.h" |
Syntax
class FPrimitiveDrawInterface
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPrimitiveDrawInterface
(
const FSceneView* InView |
Initialization constructor. | PrimitiveDrawInterface.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPrimitiveDrawInterface() |
PrimitiveDrawInterface.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| View | const FSceneView * | PrimitiveDrawInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddReserveLines
(
uint8 DepthPriorityGroup, |
PrimitiveDrawInterface.h | ||
void DrawLine
(
const FVector& Start, |
Draw an opaque line. The alpha component of Color is ignored. | PrimitiveDrawInterface.h | |
int32 DrawMesh
(
const FMeshBatch& Mesh |
Draw a mesh element. This should only be called through the DrawMesh function. | PrimitiveDrawInterface.h | |
void DrawPoint
(
const FVector& Position, |
PrimitiveDrawInterface.h | ||
void DrawSprite
(
const FVector& Position, |
PrimitiveDrawInterface.h | ||
void DrawTranslucentLine
(
const FVector& Start, |
Draw a translucent line. The alpha component of Color determines the transparency. | PrimitiveDrawInterface.h | |
bool IsHitTesting() |
PrimitiveDrawInterface.h | ||
void RegisterDynamicResource
(
FDynamicPrimitiveResource* DynamicResource |
PrimitiveDrawInterface.h | ||
void SetHitProxy
(
HHitProxy* HitProxy |
PrimitiveDrawInterface.h |