FSimpleElementCollector

Primitive draw interface implementation used to store primitives requested to be drawn when gathering dynamic mesh 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 FSimpleElementCollector : public FPrimitiveDrawInterface

Remarks

Primitive draw interface implementation used to store primitives requested to be drawn when gathering dynamic mesh elements.

Variables

Name Description

Public variable

FBatchedElement...

 

BatchedElements

The batched simple elements.

Public variable

FBatchedElement...

 

TopBatchedElements

Constructors

Name Description

Public function

FSimpleElementCollector()

Destructors

Name Description

Public function

~FSimpleElementCollector()

Functions

Name Description

Public function Const

void

 

DrawBatchedElements

(
    FRHICommandList& RHICmdList,
    const FMeshPassProcessorRenderState...,
    const FSceneView& InView,
    EBlendModeFilter::Type Filter,
    ESceneDepthPriorityGroup DPG
)

Public function Const

bool

 

HasPrimitives

(
    ESceneDepthPriorityGroup DPG
)

Overridden from FPrimitiveDrawInterface

Name Description

Public function Virtual

void

 

AddReserveLines

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

Public function Virtual

void

 

DrawLine

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

Public function Virtual

int32

 

DrawMesh

(
    const FMeshBatch& Mesh
)

Not supported.

Public function Virtual

void

 

DrawPoint

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

Public function Virtual

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 Virtual

bool

 

IsHitTesting()

Not supported.

Public function Virtual

void

 

RegisterDynamicResource

(
    FDynamicPrimitiveResource* Dyn...
)

Public function Virtual

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