FDynamicSpriteEmitterDataBase

Base class for Sprite emitters and other emitter types that share similar features.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ParticleHelper.h

Include

#include "ParticleHelper.h"

Syntax

struct FDynamicSpriteEmitterDataBase : public FDynamicEmitterDataBase

Remarks

Base class for Sprite emitters and other emitter types that share similar features.

Variables

Name Description

Public variable

uint32: 1

 

bUsesDynamicParameter

True if the particle emitter utilizes the DynamicParameter module

Public variable

const FMaterial...

 

MaterialResource

The material render proxy for this emitter

Constructors

Name Description

Public function

FDynamicSpriteEmitterDataBase

(
    const UParticleModuleRequired*...
)

Destructors

Functions

Name Description

Public function Const

void

 

BuildViewFillData

(
    const FParticleSystemSceneProxy...,
    const FSceneView* InView,
    int32 InVertexCount,
    int32 InVertexSize,
    int32 InDynamicParameterVertexSize,
    FGlobalDynamicIndexBuffer& Dynamic...,
    FGlobalDynamicVertexBuffer& Dynami...,
    FGlobalDynamicVertexBuffer::FAlloca...,
    FGlobalDynamicIndexBuffer::FAllocat...,
    FGlobalDynamicVertexBuffer::FAlloca...,
    FAsyncBufferFillData& Data
)

Set up an buffer for async filling

Public function Virtual Const

void

 

DoBufferFill

(
    FAsyncBufferFillData& Me
)

Public function Virtual Const

int32

 

GetDynamicParameterVertexStride()

Get the vertex stride for the dynamic parameter rendering data

Public function Virtual Const

int32

 

GetDynamicVertexStride

Get the vertex stride for the dynamic rendering data

Public function Virtual Const

void

 

GetIndexAllocInfo

(
    int32& OutNumIndices,
    int32& OutStride
)

Gets the information required for allocating this emitters indices from the global index array.

Public function Virtual Const

const FDynam...

 

GetSourceData()

Get the source replay data for this emitter

Public function Virtual Const

void

 

RenderDebug

(
    const FParticleSystemSceneProxy...,
    FPrimitiveDrawInterface* PDI,
    const FSceneView* View,
    bool bCrosses
)

Debug rendering

Public function Const

void

 

SortSpriteParticles

(
    int32 SortMode,
    bool bLocalSpace,
    int32 ParticleCount,
    const uint8* ParticleData,
    int32 ParticleStride,
    const uint16* ParticleIndices,
    const FSceneView* View,
    const FMatrix& LocalToWorld,
    FParticleOrder* ParticleOrder
)

Sort the given sprite particles

Overridden from FDynamicEmitterDataBase

Name Description

Public function Virtual

const FMater...

 

GetMaterialRenderProxy()

Retrieve the material render proxy to use for rendering this emitter. PURE VIRTUAL

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss