![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "ParticleEmitterInstances.h"#include "EngineModule.h"#include "PrimitiveSceneProxy.h"#include "Materials/Material.h"#include "Materials/MaterialRenderProxy.h"#include "Particles/Orientation/ParticleModuleOrientationAxisLock.h"#include "PrimitiveSceneProxyDesc.h"#include "SceneView.h"#include "UObject/UObjectIterator.h"#include "MaterialDomain.h"#include "MaterialShared.h"#include "MeshParticleVertexFactory.h"#include "Particles/ParticleEmitter.h"#include "Particles/ParticleModule.h"#include "StaticMeshResources.h"#include "ParticleResources.h"#include "ParticleSystemSceneProxy.h"#include "Particles/ParticlePerfStats.h"#include "Particles/TypeData/ParticleModuleTypeDataBeam2.h"#include "Particles/ParticleSpriteEmitter.h"#include "Particles/TypeData/ParticleModuleTypeDataMesh.h"#include "Particles/ParticleSystem.h"#include "Particles/TypeData/ParticleModuleTypeDataRibbon.h"#include "Particles/ParticleModuleRequired.h"#include "ParticleBeamTrailVertexFactory.h"#include "SceneInterface.h"#include "Particles/ParticleLODLevel.h"#include "Engine/StaticMesh.h"#include "Stats/StatsTrace.h"#include "UnrealEngine.h"#include "RenderCore.h"#include "DataDrivenShaderPlatformInfo.h"#include "PrimitiveUniformShaderParametersBuilder.h"#include "Experimental/ConcurrentLinearAllocator.h"#include "Templates/Greater.h"#include "InGamePerformanceTracker.h"Classes | |
| class | FDynamicSpriteCollectorResources |
| class | FDynamicMeshEmitterCollectorResources |
| class | FMeshParticleInstanceVertices |
| class | FDynamicBeamTrailCollectorResources |
| struct | FAnimTrailParticleRenderData |
Variables | |
| float | GTimeBetweenParticleRenderStatCaptures = 5.0f |
| float | GMinParticleDrawTimeToTrack = .0001f |
| float | GCatmullRomEndParamOffset = 0.1f |
| void ApplyOrbitToPosition | ( | const FBaseParticle & | Particle, |
| const FDynamicSpriteEmitterReplayDataBase & | Source, | ||
| const FMatrix & | InLocalToWorld, | ||
| FVector & | ParticlePosition, | ||
| FVector & | ParticleOldPosition | ||
| ) |
| void ComputeLockedAxes | ( | EParticleAxisLock | LockAxisFlag, |
| const FMatrix & | LocalToWorld, | ||
| FVector & | CameraUp, | ||
| FVector & | CameraRight | ||
| ) |
Retrieve the appropriate camera Up and Right vectors for LockAxis situations
| LockAxisFlag | The lock axis flag to compute camera vectors for. |
| LocalToWorld | The local-to-world transform for the emitter (identify unless the emitter is rendering in local space). |
| CameraUp | OUTPUT - the resulting camera Up vector |
| CameraRight | OUTPUT - the resulting camera Right vector |
| FParticleBeamTrailUniformBufferRef CreateBeamTrailUniformBuffer | ( | const FParticleSystemSceneProxy * | Proxy, |
| const FDynamicSpriteEmitterReplayDataBase * | SourceData, | ||
| const FSceneView * | View | ||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("DynamicSpriteEmitterData GetDynamicMeshElementsEmitter GetParticleOrderData RT") | , |
| STAT_FDynamicSpriteEmitterData_GetDynamicMeshElementsEmitter_GetParticleOrderData | , | ||
| STATGROUP_Particles | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("DynamicSpriteEmitterData GetDynamicMeshElementsEmitter Task RT") | , |
| STAT_FDynamicSpriteEmitterData_GetDynamicMeshElementsEmitter_Task | , | ||
| STATGROUP_Particles | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("DynamicSpriteEmitterData PerParticleWorkOrTasks RT") | , |
| STAT_FDynamicSpriteEmitterData_PerParticleWorkOrTasks | , | ||
| STATGROUP_Particles | |||
| ) |
| void GatherParticleLightData | ( | const FDynamicSpriteEmitterReplayDataBase & | Source, |
| const FMatrix & | InLocalToWorld, | ||
| const FSceneViewFamily & | InViewFamily, | ||
| FSimpleLightArray & | OutParticleLights | ||
| ) |
| FORCEINLINE FVector GetCameraOffset | ( | float | CameraPayloadOffset, |
| FVector | DirToCamera | ||
| ) |
| FORCEINLINE FVector GetCameraOffsetFromPayload | ( | int32 | InCameraPayloadOffset, |
| const FBaseParticle & | InParticle, | ||
| const FVector & | InParticlePosition, | ||
| const FVector & | InCameraPosition | ||
| ) |
Helper function for retrieving the camera offset payload of a particle.
| InCameraPayloadOffset | The offset to the camera offset payload data. |
| InParticle | The particle being processed. |
| InPosition | The position of the particle being processed. |
| InCameraPosition | The position of the camera in local space. |
| FVector2D GetParticleSize | ( | const FBaseParticle & | Particle, |
| const FDynamicSpriteEmitterReplayDataBase & | Source | ||
| ) |
| void InitMeshParticleVertexFactoryComponents | ( | FMeshParticleVertexFactory * | InVertexFactory, |
| const FStaticMeshLODResources & | LODResources, | ||
| FMeshParticleVertexFactory::FDataType & | Data | ||
| ) |
| float GCatmullRomEndParamOffset = 0.1f |
| float GMinParticleDrawTimeToTrack = .0001f |
Minimum render time for a single DrawDynamicElements call that should be recorded.
| float GTimeBetweenParticleRenderStatCaptures = 5.0f |
Seconds between stat captures.