UParticleModuleTypeDataMesh

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/TypeData/ParticleModuleTypeDataMesh.h

Include

#include "Particles/TypeData/ParticleModuleTypeDataMesh.h"

Syntax

class UParticleModuleTypeDataMesh : public UParticleModuleTypeDataBase

Variables

Name Description

Public variable

TEnumAsByte< EP...

 

AxisLockOption

The axis to lock the mesh on.

Public variable

uint32: 1

 

bApplyParticleRotationAsSpin

If true, apply 'sprite' particle rotation about the orientation axis (direction mesh is pointing).

Public variable

uint32: 1

 

bCameraFacing

If true, then point the X-axis of the mesh towards the camera.

Public variable

uint32: 1

 

bCollisionsConsiderPartilceSize

If true, all collisions for mesh particle on this emitter will take the particle size into account.

Public variable

uint32: 1

 

bEnableMotionBlur

Public variable

uint32: 1

 

bFaceCameraDirectionRatherThanPosition

If true, all camera facing options will point the mesh against the camera's view direction rather than pointing at the cameras location.

Public variable

uint32: 1

 

bOverrideDefaultMotionBlurSettings

Public variable

uint32: 1

 

bOverrideMaterial

If true, use the emitter material when rendering rather than the one applied to the static mesh model.

Public variable

bool

 

bUseStaticMeshLODs

Use the static mesh's LOD setup and switch LODs based on largest particle's screen size

Public variable

TEnumAsByte< en...

 

CameraFacingOption

The camera facing option to use: All camera facing options without locked axis assume X-axis will be facing the camera.

Public variable

uint32: 1

 

CastShadows

If true, has the meshes cast shadows

Public variable

uint32: 1

 

DoCollisions

UNUSED (the collision module dictates doing collisions)

Public variable

float

 

LODSizeScale

Use the static mesh's LOD setup and switch LODs based on largest particle's screen size

Public variable

UStaticMesh ...

 

Mesh

The static mesh to render at the particle positions

Public variable

TEnumAsByte< en...

 

MeshAlignment

The alignment to use on the meshes emitted.

Public variable

FRandomStream

 

RandomStream

Random stream for the initial rotation distribution

Public variable

FRawDistributio...

 

RollPitchYawRange

The 'pre' rotation pitch (in degrees) to apply to the static mesh used.

Constructors

Name Description

Public function

UParticleModuleTypeDataMesh

(
    const FObjectInitializer& ObjectIn...
)

Functions

Overridden from UParticleModuleTypeDataBase

Name Description

Public function Virtual

FParticleEmi...

 

CreateInstance

(
    UParticleEmitter* InEmitterPar...,
    UParticleSystemComponent* InCo...
)

Public function Virtual Const

bool

 

IsAMeshEmitter()

Public function Virtual Const

bool

 

IsMotionBlurEnabled()

Determine if motion blur is enabled for the owning emitter.

Public function Virtual Const

bool

 

SupportsSpecificScreenAlignmentFlags()

Public function Virtual Const

bool

 

SupportsSubUV()

Overridden from UParticleModule

Name Description

Public function Virtual

void

 

SetToSensibleDefaults

(
    UParticleEmitter* Owner
)

For Cascade.

Overridden from UObject

Name Description

Public function Virtual Const

bool

 

IsPostLoadThreadSafe()

Called during async load to determine if PostLoad can be called on the loading thread.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Deprecated Variables

Name Description

Public variable

TEnumAsByte< en...

 

CameraFacingUpAxisOption_DEPRECATED

The axis of the mesh to point up when camera facing the X-axis.

Public variable

float

 

Pitch_DEPRECATED

Deprecated properties for initial orientation

Public variable

float

 

Roll_DEPRECATED

Public variable

float

 

Yaw_DEPRECATED

Select Skin
Light
Dark

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