Table of Contents

Class ParticleSystem

Namespace
TaleWorlds.Engine
Assembly
TaleWorlds.Engine.dll
[EngineClass("rglParticle_system_instanced")]
public sealed class ParticleSystem : GameEntityComponent
Inheritance
ParticleSystem
Inherited Members

Methods

AddMesh(Mesh)

public void AddMesh(Mesh mesh)

Parameters

mesh Mesh

CreateParticleSystemAttachedToBone(int, Skeleton, sbyte, ref MatrixFrame)

public static ParticleSystem CreateParticleSystemAttachedToBone(int systemRuntimeId, Skeleton skeleton, sbyte boneIndex, ref MatrixFrame boneLocalFrame)

Parameters

systemRuntimeId int
skeleton Skeleton
boneIndex sbyte
boneLocalFrame MatrixFrame

Returns

ParticleSystem

CreateParticleSystemAttachedToBone(string, Skeleton, sbyte, ref MatrixFrame)

public static ParticleSystem CreateParticleSystemAttachedToBone(string systemName, Skeleton skeleton, sbyte boneIndex, ref MatrixFrame boneLocalFrame)

Parameters

systemName string
skeleton Skeleton
boneIndex sbyte
boneLocalFrame MatrixFrame

Returns

ParticleSystem

CreateParticleSystemAttachedToEntity(int, GameEntity, ref MatrixFrame)

public static ParticleSystem CreateParticleSystemAttachedToEntity(int systemRuntimeId, GameEntity parentEntity, ref MatrixFrame boneLocalFrame)

Parameters

systemRuntimeId int
parentEntity GameEntity
boneLocalFrame MatrixFrame

Returns

ParticleSystem

CreateParticleSystemAttachedToEntity(string, GameEntity, ref MatrixFrame)

public static ParticleSystem CreateParticleSystemAttachedToEntity(string systemName, GameEntity parentEntity, ref MatrixFrame boneLocalFrame)

Parameters

systemName string
parentEntity GameEntity
boneLocalFrame MatrixFrame

Returns

ParticleSystem

GetLocalFrame()

public MatrixFrame GetLocalFrame()

Returns

MatrixFrame

Restart()

public void Restart()

SetEnable(bool)

public void SetEnable(bool enable)

Parameters

enable bool

SetLocalFrame(ref MatrixFrame)

public void SetLocalFrame(ref MatrixFrame newLocalFrame)

Parameters

newLocalFrame MatrixFrame

SetParticleEffectByName(string)

public void SetParticleEffectByName(string effectName)

Parameters

effectName string

SetRuntimeEmissionRateMultiplier(float)

public void SetRuntimeEmissionRateMultiplier(float multiplier)

Parameters

multiplier float

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).