G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FParticleRandomSeedInfo Struct Reference

Public Member Functions

Functions
void SetbGetSeedFromInstance (bool Value)
 If true, the module will attempt to get the seed from the owner instance. If that fails, it will fall back to getting it from the RandomSeeds array.
void SetbInstanceSeedIsIndex (bool Value)
 If true, the seed value retrieved from the instance will be an index into the array of seeds.
void SetbResetSeedOnEmitterLooping (bool Value)
 If true, then reset the seed upon the emitter looping. For looping environmental effects this should likely be set to false to avoid a repeating pattern.
void SetbRandomlySelectSeedArray (bool Value)
 If true, then randomly select a seed entry from the RandomSeeds array.
FParticleRandomSeedInfo & opAssign (FParticleRandomSeedInfo Other)

Public Attributes

ParticleRandomSeedInfo
TArray< int > RandomSeeds
 The random seed values to utilize for the module. More than 1 means the instance will randomly select one.
FName ParameterName
 The name to expose to the placed instances for setting this seed.

Member Function Documentation

◆ opAssign()

◆ SetbGetSeedFromInstance()

void SetbGetSeedFromInstance ( bool Value)

If true, the module will attempt to get the seed from the owner instance. If that fails, it will fall back to getting it from the RandomSeeds array.

◆ SetbInstanceSeedIsIndex()

void SetbInstanceSeedIsIndex ( bool Value)

If true, the seed value retrieved from the instance will be an index into the array of seeds.

◆ SetbRandomlySelectSeedArray()

void SetbRandomlySelectSeedArray ( bool Value)

If true, then randomly select a seed entry from the RandomSeeds array.

◆ SetbResetSeedOnEmitterLooping()

void SetbResetSeedOnEmitterLooping ( bool Value)

If true, then reset the seed upon the emitter looping. For looping environmental effects this should likely be set to false to avoid a repeating pattern.

Member Data Documentation

◆ ParameterName

FName ParameterName

The name to expose to the placed instances for setting this seed.

◆ RandomSeeds

TArray<int> RandomSeeds

The random seed values to utilize for the module. More than 1 means the instance will randomly select one.