G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UParticleModuleSpawnPerUnit Class Reference

Public Member Functions

Functions
void SetbIgnoreMovementAlongX (bool Value)
 If true, ignore the X-component of the movement.
void SetbIgnoreMovementAlongY (bool Value)
 If true, ignore the Y-component of the movement.
void SetbIgnoreMovementAlongZ (bool Value)
 If true, ignore the Z-component of the movement.
void SetbIgnoreSpawnRateWhenMoving (bool Value)
 If true, process the default spawn rate when not moving... When not moving, skip the default spawn rate. If false, return the bProcessSpawnRate setting.
Public Member Functions inherited from UParticleModuleSpawnBase
void SetbProcessBurstList (bool Value)
 If true, the BurstList of the SpawnModule of the emitter will be processed. If mutliple Spawn modules are 'stacked' in an emitter, if ANY of them have this set to false, it will not process the SpawnModule BurstList.
void SetbProcessSpawnRate (bool Value)
 If true, the SpawnRate of the SpawnModule of the emitter will be processed. If mutliple Spawn modules are 'stacked' in an emitter, if ANY of them have this set to false, it will not process the SpawnModule SpawnRate.
Public Member Functions inherited from UParticleModule
void Setb3DDrawMode (bool Value)
 If true, the module should render its 3D visualization helper.
Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UParticleModuleSpawnBase
static UClass StaticClass ()
Static Public Member Functions inherited from UParticleModule
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

Spawn
float32 MovementTolerance
 The tolerance for moving vs. not moving w.r.t. the bIgnoreSpawnRateWhenMoving flag. Ie, if (DistanceMoved < (UnitScalar x MovementTolerance)) then consider it not moving.
FRawDistributionFloat SpawnPerUnit
 The amount to spawn per meter distribution. The value is retrieved using the EmitterTime.
float32 MaxFrameDistance
 The maximum valid movement for a single frame. If 0.0, then the check is not performed. Currently, if the distance moved between frames is greater than this then NO particles will be spawned. This is primiarily intended to cover cases where the PSystem is attached to teleporting objects.
float32 UnitScalar
 The scalar to apply to the distance traveled. The value from SpawnPerUnit is divided by this value to give the actual number of particles per unit.
Public Attributes inherited from UParticleModule
FColor ModuleEditorColor
 The color to draw the modules curves in the curve editor. If bCurvesAsColor is true, it overrides this value.
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Member Function Documentation

◆ SetbIgnoreMovementAlongX()

void SetbIgnoreMovementAlongX ( bool Value)

If true, ignore the X-component of the movement.

◆ SetbIgnoreMovementAlongY()

void SetbIgnoreMovementAlongY ( bool Value)

If true, ignore the Y-component of the movement.

◆ SetbIgnoreMovementAlongZ()

void SetbIgnoreMovementAlongZ ( bool Value)

If true, ignore the Z-component of the movement.

◆ SetbIgnoreSpawnRateWhenMoving()

void SetbIgnoreSpawnRateWhenMoving ( bool Value)

If true, process the default spawn rate when not moving... When not moving, skip the default spawn rate. If false, return the bProcessSpawnRate setting.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ MaxFrameDistance

float32 MaxFrameDistance

The maximum valid movement for a single frame. If 0.0, then the check is not performed. Currently, if the distance moved between frames is greater than this then NO particles will be spawned. This is primiarily intended to cover cases where the PSystem is attached to teleporting objects.

◆ MovementTolerance

float32 MovementTolerance

The tolerance for moving vs. not moving w.r.t. the bIgnoreSpawnRateWhenMoving flag. Ie, if (DistanceMoved < (UnitScalar x MovementTolerance)) then consider it not moving.

◆ SpawnPerUnit

FRawDistributionFloat SpawnPerUnit

The amount to spawn per meter distribution. The value is retrieved using the EmitterTime.

◆ UnitScalar

float32 UnitScalar

The scalar to apply to the distance traveled. The value from SpawnPerUnit is divided by this value to give the actual number of particles per unit.