Navigation
API > API/Runtime > API/Runtime/Engine
Dynamic emitter data for Mesh emitters
| Name | FDynamicMeshEmitterData |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/ParticleHelper.h |
| Include Path | #include "ParticleHelper.h" |
Syntax
struct FDynamicMeshEmitterData : public FDynamicSpriteEmitterDataBase
Inheritance Hierarchy
- FDynamicEmitterDataBase → FDynamicSpriteEmitterDataBase → FDynamicMeshEmitterData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDynamicMeshEmitterData
(
const UParticleModuleRequired* RequiredModule |
ParticleHelper.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FDynamicMeshEmitterData() |
ParticleHelper.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bApplyParticleRotationAsSpin | uint32 | If true, apply 'sprite' particle rotation about the orientation axis (direction mesh is pointing). | ParticleHelper.h | |
| bApplyPreRotation | uint32 | 'orientation' items... | ParticleHelper.h | |
| bFaceCameraDirectionRatherThanPosition | uint32 | If true, all camera facing options will point the mesh against the camera's view direction rather than pointing at the cameras location. | ParticleHelper.h | |
| bUseCameraFacing | uint32 | If true, then use the camera facing options supplied. Trumps all other settings. | ParticleHelper.h | |
| bUseMeshLockedAxis | uint32 | If true, then use the locked axis setting supplied. | ParticleHelper.h | |
| bUseStaticMeshLODs | bool | ParticleHelper.h | ||
| CameraFacingOption | uint8 | The EMeshCameraFacingOption setting to use if bUseCameraFacing is true. | ParticleHelper.h | |
| EmitterInstance | const FParticleMeshEmitterInstance * | ParticleHelper.h | ||
| LastCalculatedMeshLOD | int32 | ParticleHelper.h | ||
| LastFramePreRendered | int32 | ParticleHelper.h | ||
| LODSizeScale | float | ParticleHelper.h | ||
| MeshMaterials | TArray< FMaterialRenderProxy *, TInlineAllocator< 2 > > | ParticleHelper.h | ||
| MeshTypeDataOffset | uint32 | Offset to FMeshTypeDataPayload | ParticleHelper.h | |
| Source | FDynamicMeshEmitterReplayData | The frame source data for this particle system. | ParticleHelper.h | |
| StaticMesh | UStaticMesh * | ParticleHelper.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CalculateParticleTransform
(
const FMatrix& ProxyLocalToWorld, |
ParticleHelper.h | ||
void GetInstanceData
(
void* InstanceData, |
Retrieve the instance data required to render this emitter. Render-thread only | ParticleHelper.h | |
uint32 GetMeshLODIndexFromProxy
(
const FParticleSystemSceneProxy* InOwnerProxy |
ParticleHelper.h | ||
void GetParticlePrevTransform
(
const FBaseParticle& InParticle, |
ParticleHelper.h | ||
void GetParticleTransform
(
const FBaseParticle& InParticle, |
Helper function for retrieving the particle transform. | ParticleHelper.h | |
void Init
(
bool bInSelected, |
Initialize this emitter's dynamic rendering data, called after source data has been filled in | ParticleHelper.h | |
void SetupVertexFactory
(
FRHICommandListBase& RHICmdList, |
Initialize this emitter's vertex factory with the vertex buffers from the mesh's rendering data. | ParticleHelper.h |
Overridden from FDynamicSpriteEmitterDataBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 GetDynamicParameterVertexStride() |
Get the vertex stride for the dynamic parameter rendering data | ParticleHelper.h | |
virtual int32 GetDynamicVertexStride
(
ERHIFeatureLevel::Type |
Get the vertex stride for the dynamic rendering data | ParticleHelper.h | |
virtual const FDynamicSpriteEmitterReplayDataBase * GetSourceData() |
Get the source replay data for this emitter | ParticleHelper.h |
Overridden from FDynamicEmitterDataBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GatherSimpleLights
(
const FParticleSystemSceneProxy* Proxy, |
Gathers simple lights for this emitter. | ParticleHelper.h | |
virtual void GetDynamicMeshElementsEmitter
(
const FParticleSystemSceneProxy* Proxy, |
ParticleHelper.h | ||
virtual const FDynamicEmitterReplayDataBase & GetSource() |
Returns the source data for this particle system | ParticleHelper.h | |
virtual void ReleaseRenderThreadResources
(
const FParticleSystemSceneProxy* InOwnerProxy |
Release the render thread resources for this emitter data | ParticleHelper.h | |
virtual void UpdateRenderThreadResourcesEmitter
(
const FParticleSystemSceneProxy* InOwnerProxy |
Create the render thread resources for this emitter data | ParticleHelper.h |