Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UParticleModuleTypeDataMesh |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Particles/TypeData/ParticleModuleTypeDataMesh.h |
| Include Path | #include "Particles/TypeData/ParticleModuleTypeDataMesh.h" |
Syntax
UCLASS (EditInlineNew, HideCategories=Object, MinimalAPI, Meta=(DisplayName="Mesh Data"))
class UParticleModuleTypeDataMesh : public UParticleModuleTypeDataBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UParticleModule → UParticleModuleTypeDataBase → UParticleModuleTypeDataMesh
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UParticleModuleTypeDataMesh
(
const FObjectInitializer& ObjectInitializer |
Particles/TypeData/ParticleModuleTypeDataMesh.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AxisLockOption | TEnumAsByte< EParticleAxisLock > | The axis to lock the mesh on. | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
| bApplyParticleRotationAsSpin | uint8 | If true, apply 'sprite' particle rotation about the orientation axis (direction mesh is pointing). | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
| bCameraFacing | uint8 | If true, then point the X-axis of the mesh towards the camera. | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
| bCollisionsConsiderPartilceSize | uint8 | If true, all collisions for mesh particle on this emitter will take the particle size into account. | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
| bEnableMotionBlur | uint8 | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
|
| bFaceCameraDirectionRatherThanPosition | uint8 | If true, all camera facing options will point the mesh against the camera's view direction rather than pointing at the cameras location. | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
| bOverrideDefaultMotionBlurSettings | uint8 | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
|
| bOverrideMaterial | uint8 | If true, use the emitter material when rendering rather than the one applied to the static mesh model. | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
| bUseStaticMeshLODs | uint8 | Use the static mesh's LOD setup and switch LODs based on largest particle's screen size | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
| CameraFacingOption | TEnumAsByte< enum EMeshCameraFacingOptions > | The camera facing option to use: All camera facing options without locked axis assume X-axis will be facing the camera. | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
| CastShadows | uint8 | If true, has the meshes cast shadows | Particles/TypeData/ParticleModuleTypeDataMesh.h | |
| DoCollisions | uint8 | UNUSED (the collision module dictates doing collisions) | Particles/TypeData/ParticleModuleTypeDataMesh.h | |
| LODSizeScale | float | Use the static mesh's LOD setup and switch LODs based on largest particle's screen size | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
| Mesh | TObjectPtr< UStaticMesh > | The static mesh to render at the particle positions | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
| MeshAlignment | TEnumAsByte< enum EMeshScreenAlignment > | The alignment to use on the meshes emitted. | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
| RandomStream | FRandomStream | Random stream for the initial rotation distribution | Particles/TypeData/ParticleModuleTypeDataMesh.h | |
| RollPitchYawRange | FRawDistributionVector | The 'pre' rotation pitch (in degrees) to apply to the static mesh used. | Particles/TypeData/ParticleModuleTypeDataMesh.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CreateDistribution() |
Particles/TypeData/ParticleModuleTypeDataMesh.h | ||
void OnMeshChanged() |
Particles/TypeData/ParticleModuleTypeDataMesh.h |
Overridden from UParticleModuleTypeDataBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CollectPSOPrecacheData
(
const UParticleEmitter* Emitter, |
Particles/TypeData/ParticleModuleTypeDataMesh.h | ||
virtual FParticleEmitterInstance * CreateInstance
(
UParticleEmitter* InEmitterParent, |
Particles/TypeData/ParticleModuleTypeDataMesh.h | ||
virtual const FVertexFactoryType * GetVertexFactoryType() |
Particles/TypeData/ParticleModuleTypeDataMesh.h | ||
virtual bool IsAMeshEmitter() |
Particles/TypeData/ParticleModuleTypeDataMesh.h | ||
virtual bool IsMotionBlurEnabled() |
Determine if motion blur is enabled for the owning emitter. | Particles/TypeData/ParticleModuleTypeDataMesh.h | |
virtual bool SupportsSpecificScreenAlignmentFlags() |
Particles/TypeData/ParticleModuleTypeDataMesh.h | ||
virtual bool SupportsSubUV() |
Particles/TypeData/ParticleModuleTypeDataMesh.h |
Overridden from UParticleModule
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetToSensibleDefaults
(
UParticleEmitter* Owner |
For Cascade. | Particles/TypeData/ParticleModuleTypeDataMesh.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
Particles/TypeData/ParticleModuleTypeDataMesh.h | ||
virtual bool IsPostLoadThreadSafe() |
Particles/TypeData/ParticleModuleTypeDataMesh.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Particles/TypeData/ParticleModuleTypeDataMesh.h | ||
virtual void PostLoad() |
Particles/TypeData/ParticleModuleTypeDataMesh.h | ||
virtual void PreEditChange
(
FProperty* PropertyThatWillChange |
Particles/TypeData/ParticleModuleTypeDataMesh.h | ||
virtual void Serialize
(
FArchive& Ar |
Particles/TypeData/ParticleModuleTypeDataMesh.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 GetCurrentDetailMode() |
Particles/TypeData/ParticleModuleTypeDataMesh.h | ||
static int32 GetMeshParticleMotionBlurMinDetailMode() |
Particles/TypeData/ParticleModuleTypeDataMesh.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CameraFacingUpAxisOption_DEPRECATED | TEnumAsByte< enum EMeshCameraFacingUpAxis > | The axis of the mesh to point up when camera facing the X-axis. | Particles/TypeData/ParticleModuleTypeDataMesh.h |