FDynamicSpriteEmitterData

Dynamic emitter data for sprite emitters

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

struct FDynamicSpriteEmitterData : public FDynamicSpriteEmitterDataBase

Remarks

Dynamic emitter data for sprite emitters

Variables

Name Description

Public variable

FDynamicSpriteE...

 

Source

The frame source data for this particle system.

Public variable

FParticleSprite...

 

UniformParameters

Uniform parameters.

Constructors

Name Description

Public function

FDynamicSpriteEmitterData

(
    const UParticleModuleRequired*...
)

Destructors

Name Description

Public function

~FDynamicSpriteEmitterData()

Functions

Name Description

Public function Const

bool

 

GetVertexAndIndexData

(
    void* VertexData,
    void* DynamicParameterVertexDa...,
    void* FillIndexData,
    FParticleOrder* ParticleOrder,
    const FVector& InCameraPosition,
    const FMatrix& InLocalToWorld,
    uint32 InstanceFactor
)

Retrieve the vertex and (optional) index required to render this emitter. Render-thread only

Public function Const

bool

 

GetVertexAndIndexDataNonInstanced

(
    void* VertexData,
    void* DynamicParameterVertexDa...,
    void* FillIndexData,
    FParticleOrder* ParticleOrder,
    const FVector& InCameraPosition,
    const FMatrix& InLocalToWorld,
    int32 NumVerticesPerParticle
)

Retrieve the vertex and (optional) index required to render this emitter.

Public function

void

 

Init

(
    bool bInSelected
)

Initialize this emitter's dynamic rendering data, called after source data has been filled in

Overridden from FDynamicSpriteEmitterDataBase

Name Description

Public function Virtual Const

int32

 

GetDynamicParameterVertexStride()

Get the vertex stride for the dynamic parameter rendering data

Public function Virtual Const

int32

 

GetDynamicVertexStride

(
    ERHIFeatureLevel::Type InFeatureLev...
)

Get the vertex stride for the dynamic rendering data

Public function Virtual Const

const FDynam...

 

GetSourceData()

Get the source replay data for this emitter

Overridden from FDynamicEmitterDataBase

Name Description

Public function Virtual

FParticleVer...

 

BuildVertexFactory

(
    const FParticleSystemSceneProxy...
)

Create the vertex factory for this emitter data

Public function Virtual

FParticleVer...

 

CreateVertexFactory

(
    ERHIFeatureLevel::Type InFeatureLev...,
    const FParticleSystemSceneProxy...
)

Public function Virtual Const

void

 

GatherSimpleLights

(
    const FParticleSystemSceneProxy...,
    const FSceneViewFamily& ViewFamily,
    FSimpleLightArray& OutParticleLigh...
)

Gathers simple lights for this emitter.

Public function Virtual Const

void

 

GetDynamicMeshElementsEmitter

(
    const FParticleSystemSceneProxy...,
    const FSceneView* View,
    const FSceneViewFamily& ViewFamily,
    int32 ViewIndex,
    FMeshElementCollector& Collector,
    FParticleVertexFactoryBase* Ve...
)

Public function Virtual Const

const FDynam...

 

GetSource()

Returns the source data for this particle system

Public function Virtual

void

 

UpdateRenderThreadResourcesEmitter

(
    const FParticleSystemSceneProxy...
)

Create the render thread resources for this emitter data

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