Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > TypeData
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleTypeDataBase
- UParticleModuleTypeDataBeam2
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Particles/TypeData/ParticleModuleTypeDataBeam2.h |
Include | #include "Particles/TypeData/ParticleModuleTypeDataBeam2.h" |
Syntax
class UParticleModuleTypeDataBeam2 : public UParticleModuleTypeDataBase
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint32: 1 | bAlwaysOn | If true, there will ALWAYS be a beam... |
![]() |
TEnumAsByte< enum EBeam2Method > | BeamMethod | General Beam Variables. |
![]() |
FName | BranchParentName | Beam Branching Variables. |
![]() |
FRawDistributionFloat | Distance | Beam Distance Variables. |
![]() |
int32 | InterpolationPoints | Indicates whether the beam should be interpolated. |
![]() |
TArray< UParticleModuleBeamNoise * > | LOD_BeamModule_Noise | |
![]() |
TArray< UParticleModuleBeamSource * > | LOD_BeamModule_Source | |
![]() |
TArray< UParticleModuleBeamModifier * > | LOD_BeamModule_SourceModifier | |
![]() |
TArray< UParticleModuleBeamTarget * > | LOD_BeamModule_Target | |
![]() |
TArray< UParticleModuleBeamModifier * > | LOD_BeamModule_TargetModifier | |
![]() |
int32 | MaxBeamCount | The number of live beams |
![]() |
uint32: 1 | RenderDirectLine | |
![]() |
uint32: 1 | RenderGeometry | Beam Rendering Variables. |
![]() |
uint32: 1 | RenderLines | |
![]() |
uint32: 1 | RenderTessellation | |
![]() |
int32 | Sheets | The number of sheets to render |
![]() |
float | Speed | The speed at which the beam should move from source to target when firing up. |
![]() |
FRawDistributionFloat | TaperFactor | Tapering factor, 0 = source of beam, 1 = target |
![]() |
TEnumAsByte< enum EBeamTaperMethod > | TaperMethod | Tapering mode - one of the following: PEBTM_None - No tapering is applied PEBTM_Full - Taper the beam relative to source>target, regardless of current beam length PEBTM_Partial - Taper the beam relative to source>location, 0=source,1=endpoint |
![]() |
FRawDistributionFloat | TaperScale | Tapering scaling This is intended to be either a constant, uniform or a ParticleParam. |
![]() |
int32 | TextureTile | The number of times to tile the texture along each beam. |
![]() |
float | TextureTileDistance | The distance per texture tile. 1st UV set only. 2nd UV set does not Tile. |
![]() |
int32 | UpVectorStepSize | The approach to use for determining the Up vector(s) for the beam. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UParticleModuleTypeDataBeam2
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | GetDataPointerOffsets
(
FParticleEmitterInstance* Owner, |
GetDataPointerOffsets Retrieves the offsets to the data stored in the particle payload. |
![]() ![]() |
void | GetDataPointers
(
FParticleEmitterInstance* Owner, |
GetDataPointers Retrieves the data pointers stored in the particle payload. |
![]() |
void | GetNoiseRange
(
FVector& NoiseMin, |
GetNoiseRange Retrieves the range of noise |
![]() |
void | Initializes the default values for this property |
Overridden from UParticleModuleTypeDataBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | CacheModuleInfo
(
UParticleEmitter* Emitter |
Cache any desired module pointers inside this type data |
![]() ![]() |
void | CollectPSOPrecacheData
(
const UParticleEmitter* Emitter, |
|
![]() ![]() |
FParticleEmitterInstance * | CreateInstance
(
UParticleEmitter* InEmitterParent, |
|
![]() ![]() ![]() |
EPrimitiveType | ||
![]() ![]() ![]() |
const FVertexFactoryType * |
Overridden from UParticleModule
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | AddModuleCurvesToEditor
(
UInterpCurveEdSetup* EdSetup, |
Add all curve-editable Objects within this module to the curve editor. |
![]() ![]() |
bool | Return false if this emitter requires a game thread tick | |
![]() ![]() |
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. |