UParticleModuleTrailSource

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/Trail/ParticleModuleTrailSource.h

Include

#include "Particles/Trail/ParticleModuleTrailSource.h"

Syntax

class UParticleModuleTrailSource : public UParticleModuleTrailBase

Variables

Name Description

Public variable

uint32: 1

 

bInheritRotation

Interhit particle rotation - only valid for SourceMethod of PET2SRCM_Particle.

Public variable

uint32: 1

 

bLockSourceStength

Whether to lock the source to the life of the particle.

Public variable

TEnumAsByte< en...

 

SelectionMethod

Particle selection method, when using the SourceMethod of Particle.

Public variable

TEnumAsByte< en...

 

SourceMethod

The source method for the trail.

Public variable

FName

 

SourceName

The name of the source - either the emitter or Actor.

Public variable

int32

 

SourceOffsetCount

SourceOffsetCount The number of source offsets that can be expected to be found on the instance.

Public variable

TArray< FVector...

 

SourceOffsetDefaults

Default offsets from the source(s).

Public variable

FRawDistributio...

 

SourceStrength

The strength of the tangent from the source point for each Trail.

Constructors

Name Description

Public function

UParticleModuleTrailSource

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

InitializeDefaults()

Initializes the default values for this property

Public function

bool

 

ResolveSourceOffset

(
    int32 InTrailIdx,
    FParticleEmitterInstance* InEm...,
    FVector& OutSourceOffset
)

Retrieve the SourceOffset for the given trail index.

Overridden from UParticleModule

Name Description

Public function Virtual

void

 

AutoPopulateInstanceProperties

(
    UParticleSystemComponent* PSys...
)

Helper function used by the editor to auto-populate a placed AEmitter with any instance parameters that are utilized.

Public function Virtual

void

 

GetParticleSysParamsUtilized

(
    TArray< FString >& ParticleSysPara...
)

Retrieve the ParticleSysParams associated with this module.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

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