M&B: Bannerlord 1.3.4
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Engine.ParticleSystem Class Referencesealed

Inherits TaleWorlds.Engine.GameEntityComponent.

Public Member Functions

void AddMesh (Mesh mesh)
 
void SetEnable (bool enable)
 
void SetRuntimeEmissionRateMultiplier (float multiplier)
 
void Restart ()
 
void SetLocalFrame (in MatrixFrame newLocalFrame)
 
void SetPreviousGlobalFrame (in MatrixFrame globalFrame)
 
MatrixFrame GetLocalFrame ()
 
bool HasAliveParticles ()
 
void SetDontRemoveFromEntity (bool value)
 
void SetParticleEffectByName (string effectName)
 
- Public Member Functions inherited from TaleWorlds.Engine.GameEntityComponent
WeakGameEntity GetEntity ()
 
virtual MetaMesh GetFirstMetaMesh ()
 

Static Public Member Functions

static ParticleSystem CreateParticleSystemAttachedToBone (string systemName, Skeleton skeleton, sbyte boneIndex, ref MatrixFrame boneLocalFrame)
 WARNING! DONT USE THIS FUNCTION FOR AGENT SKELETONS.
AgentVisuals.CreateParticleSystemAttachedToBone()
 
static ParticleSystem CreateParticleSystemAttachedToBone (int systemRuntimeId, Skeleton skeleton, sbyte boneIndex, ref MatrixFrame boneLocalFrame)
 WARNING! DONT USE THIS FUNCTION FOR AGENT SKELETONS.
AgentVisuals.CreateParticleSystemAttachedToBone()
 
static ParticleSystem CreateParticleSystemAttachedToEntity (string systemName, GameEntity parentEntity, ref MatrixFrame boneLocalFrame)
 
static ParticleSystem CreateParticleSystemAttachedToEntity (string systemName, WeakGameEntity parentEntity, ref MatrixFrame boneLocalFrame)
 
static ParticleSystem CreateParticleSystemAttachedToEntity (int systemRuntimeId, GameEntity parentEntity, ref MatrixFrame boneLocalFrame)
 
static ParticleSystem CreateParticleSystemAttachedToEntity (int systemRuntimeId, WeakGameEntity parentEntity, ref MatrixFrame boneLocalFrame)
 

Member Function Documentation

◆ CreateParticleSystemAttachedToBone() [1/2]

static ParticleSystem TaleWorlds.Engine.ParticleSystem.CreateParticleSystemAttachedToBone ( string systemName,
Skeleton skeleton,
sbyte boneIndex,
ref MatrixFrame boneLocalFrame )
static

◆ CreateParticleSystemAttachedToBone() [2/2]

static ParticleSystem TaleWorlds.Engine.ParticleSystem.CreateParticleSystemAttachedToBone ( int systemRuntimeId,
Skeleton skeleton,
sbyte boneIndex,
ref MatrixFrame boneLocalFrame )
static

◆ CreateParticleSystemAttachedToEntity() [1/4]

static ParticleSystem TaleWorlds.Engine.ParticleSystem.CreateParticleSystemAttachedToEntity ( string systemName,
GameEntity parentEntity,
ref MatrixFrame boneLocalFrame )
static

◆ CreateParticleSystemAttachedToEntity() [2/4]

static ParticleSystem TaleWorlds.Engine.ParticleSystem.CreateParticleSystemAttachedToEntity ( string systemName,
WeakGameEntity parentEntity,
ref MatrixFrame boneLocalFrame )
static

◆ CreateParticleSystemAttachedToEntity() [3/4]

static ParticleSystem TaleWorlds.Engine.ParticleSystem.CreateParticleSystemAttachedToEntity ( int systemRuntimeId,
GameEntity parentEntity,
ref MatrixFrame boneLocalFrame )
static

◆ CreateParticleSystemAttachedToEntity() [4/4]

static ParticleSystem TaleWorlds.Engine.ParticleSystem.CreateParticleSystemAttachedToEntity ( int systemRuntimeId,
WeakGameEntity parentEntity,
ref MatrixFrame boneLocalFrame )
static

◆ AddMesh()

void TaleWorlds.Engine.ParticleSystem.AddMesh ( Mesh mesh)

◆ SetEnable()

void TaleWorlds.Engine.ParticleSystem.SetEnable ( bool enable)

◆ SetRuntimeEmissionRateMultiplier()

void TaleWorlds.Engine.ParticleSystem.SetRuntimeEmissionRateMultiplier ( float multiplier)

◆ Restart()

void TaleWorlds.Engine.ParticleSystem.Restart ( )

◆ SetLocalFrame()

void TaleWorlds.Engine.ParticleSystem.SetLocalFrame ( in MatrixFrame newLocalFrame)

◆ SetPreviousGlobalFrame()

void TaleWorlds.Engine.ParticleSystem.SetPreviousGlobalFrame ( in MatrixFrame globalFrame)

◆ GetLocalFrame()

MatrixFrame TaleWorlds.Engine.ParticleSystem.GetLocalFrame ( )

◆ HasAliveParticles()

bool TaleWorlds.Engine.ParticleSystem.HasAliveParticles ( )

◆ SetDontRemoveFromEntity()

void TaleWorlds.Engine.ParticleSystem.SetDontRemoveFromEntity ( bool value)

◆ SetParticleEffectByName()

void TaleWorlds.Engine.ParticleSystem.SetParticleEffectByName ( string effectName)