FPrimitiveDrawInterface

The base interface used to query a primitive for its dynamic elements.

Windows
MacOS
Linux

Inheritance Hierarchy

FPrimitiveDrawInterface

FSimpleElementCollector

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneManagement.h

Include

#include "SceneManagement.h"

Syntax

class FPrimitiveDrawInterface

Remarks

The base interface used to query a primitive for its dynamic elements.

Variables

Name Description

Public variable

const FSceneVie...

 

View

Constructors

Name Description

Public function

FPrimitiveDrawInterface

(
    const FSceneView* InView
)

Initialization constructor.

Destructors

Name Description

Public function Virtual

~FPrimitiveDrawInterface()

Functions

Name Description

Public function

void

 

AddReserveLines

(
    uint8 DepthPriorityGroup,
    int32 NumLines,
    bool bDepthBiased,
    bool bThickLines
)

Public function

void

 

DrawLine

(
    const FVector& Start,
    const FVector& End,
    const FLinearColor& Color,
    uint8 DepthPriorityGroup,
    float Thickness,
    float DepthBias,
    bool bScreenSpace
)

Public function

int32

 

DrawMesh

(
    const FMeshBatch& Mesh
)

Draw a mesh element. This should only be called through the DrawMesh function.

Public function

void

 

DrawPoint

(
    const FVector& Position,
    const FLinearColor& Color,
    float PointSize,
    uint8 DepthPriorityGroup
)

Public function

void

 

DrawSprite

(
    const FVector& Position,
    float SizeX,
    float SizeY,
    const FTexture* Sprite,
    const FLinearColor& Color,
    uint8 DepthPriorityGroup,
    float U,
    float UL,
    float V,
    float VL,
    uint8 BlendMode
)

Public function

bool

 

IsHitTesting()

Public function

void

 

RegisterDynamicResource

(
    FDynamicPrimitiveResource* Dyn...
)

Public function

void

 

SetHitProxy

(
    HHitProxy* HitProxy
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback