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

Inherits TaleWorlds.Engine.GameEntityComponent.

Public Member Functions

void AddMesh (Mesh mesh)
 
void SetEnable (bool enable)
 
void SetRuntimeEmissionRateMultiplier (float multiplier)
 
void Restart ()
 
void SetLocalFrame (ref MatrixFrame newLocalFrame)
 
MatrixFrame GetLocalFrame ()
 
void SetParticleEffectByName (string effectName)
 
- Public Member Functions inherited from TaleWorlds.Engine.GameEntityComponent
GameEntity 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 (int systemRuntimeId, GameEntity 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/2]

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

◆ CreateParticleSystemAttachedToEntity() [2/2]

static ParticleSystem TaleWorlds.Engine.ParticleSystem.CreateParticleSystemAttachedToEntity ( int  systemRuntimeId,
GameEntity  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 ( ref MatrixFrame  newLocalFrame)

◆ GetLocalFrame()

MatrixFrame TaleWorlds.Engine.ParticleSystem.GetLocalFrame ( )

◆ SetParticleEffectByName()

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