FDynamicSpriteEmitterDataBase

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

Windows
MacOS
Linux

Inheritance Hierarchy

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

References

Module

Engine

Header

Runtime/Engine/Public/ParticleHelper.h

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