Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/Beam
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleBeamBase
- UParticleModuleBeamSource
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Particles/Beam/ParticleModuleBeamSource.h |
| Include | #include "Particles/Beam/ParticleModuleBeamSource.h" |
Syntax
UCLASS (EditInlineNew, HideCategories=Object, MinimalAPI, Meta=(DisplayName="Source"))
class UParticleModuleBeamSource : public UParticleModuleBeamBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bLockSource | Whether to lock the source to the life of the particle. | |
| uint32: 1 | bLockSourceStength | Whether to lock the source to the life of the particle. | |
| uint32: 1 | bLockSourceTangent | Whether to lock the source to the life of the particle. | |
| uint32: 1 | bSourceAbsolute | Whether to treat the as an absolute position in world space. | |
| int32 | LastSelectedParticleIndex | ||
| FRawDistributionVector | Source | Default source-point to use. | |
| TEnumAsByte< enum Beam2SourceTargetMethod > | SourceMethod | The method flag. | |
| FName | SourceName | The strength of the tangent from the source point for each beam. | |
| FRawDistributionFloat | SourceStrength | The strength of the tangent from the source point for each beam. | |
| FRawDistributionVector | SourceTangent | The tangent for the source point for each beam. | |
| TEnumAsByte< enum Beam2SourceTargetTangentMethod > | SourceTangentMethod | The method to use for the source tangent. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UParticleModuleBeamSource
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetDataPointerOffsets
(
FParticleEmitterInstance* Owner, |
||
| void | GetDataPointers
(
FParticleEmitterInstance* Owner, |
||
| void | Initializes the default values for this property | ||
| bool | ResolveSourceData
(
FParticleBeam2EmitterInstance* BeamInst, |
Overridden from UParticleModule
| Type | Name | Description | |
|---|---|---|---|
| void | AutoPopulateInstanceProperties
(
UParticleSystemComponent* PSysComp |
Helper function used by the editor to auto-populate a placed AEmitter with any instance parameters that are utilized. | |
| void | GetParticleSysParamsUtilized
(
TArray< FString >& ParticleSysParamList |
Retrieve the ParticleSysParams associated with this module. | |
| uint32 | RequiredBytes
(
UParticleModuleTypeDataBase* TypeData |
Returns the number of bytes that the module requires in the particle payload block. | |
| void | Spawn
(
FParticleEmitterInstance* Owner, |
Called on a particle that is freshly spawned by the emitter. | |
| void | Update
(
FParticleEmitterInstance* Owner, |
Called on a particle that is being updated by its emitter. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |