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

uint8: 1

 

bApplyParticleRotationAsSpin

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

Public variable

uint8: 1

 

bCameraFacing

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

Public variable

uint8: 1

 

bCollisionsConsiderPartilceSize

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

Public variable

uint8: 1

 

bEnableMotionBlur

Public variable

uint8: 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

uint8: 1

 

bOverrideDefaultMotionBlurSettings

Public variable

uint8: 1

 

bOverrideMaterial

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

Public variable

uint8: 1

 

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

uint8: 1

 

CastShadows

If true, has the meshes cast shadows

Public variable

uint8: 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

void

 

BeginDestroy()

Called before destroying the object.

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

 

PreEditChange

(
    FProperty* PropertyAboutToChan...
)

This is called when a property is about to be modified externally

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss