Show / Hide Table of Contents

Class MyParticlesManager

Inheritance
System.Object
MySessionComponentBase
MyParticlesManager
Inherited Members
MySessionComponentBase.DebugName
MySessionComponentBase.Priority
MySessionComponentBase.ComponentType
MySessionComponentBase.Session
MySessionComponentBase.UpdatedBeforeInit()
MySessionComponentBase.SetUpdateOrder(MyUpdateOrder)
MySessionComponentBase.InitFromDefinition(MySessionComponentDefinition)
MySessionComponentBase.Init(MyObjectBuilder_SessionComponent)
MySessionComponentBase.GetObjectBuilder()
MySessionComponentBase.AfterLoadData()
MySessionComponentBase.UnloadDataConditional()
MySessionComponentBase.SaveData()
MySessionComponentBase.BeforeStart()
MySessionComponentBase.UpdateBeforeSimulation()
MySessionComponentBase.Simulate()
MySessionComponentBase.UpdatingStopped()
MySessionComponentBase.Draw()
MySessionComponentBase.HandleInput()
MySessionComponentBase.ToString()
MySessionComponentBase.UpdateOrder
MySessionComponentBase.ObjectBuilderType
MySessionComponentBase.ModContext
MySessionComponentBase.Loaded
MySessionComponentBase.Initialized
MySessionComponentBase.UpdateOnPause
MySessionComponentBase.IsServerOnly
MySessionComponentBase.Definition
MySessionComponentBase.Dependencies
MySessionComponentBase.IsRequiredByGame
Namespace: VRage.Game
Assembly: VRage.Game.dll
Syntax
[MySessionComponentDescriptor]
public class MyParticlesManager : MySessionComponentBase, IMyUserInputComponent, IParticleManager

Constructors

MyParticlesManager()

Declaration
public MyParticlesManager()

Fields

CalculateGravityInPoint

Declaration
public static Func<Vector3D, Vector3> CalculateGravityInPoint
Field Value
Type Description
System.Func<Vector3D, Vector3>

Enabled

Declaration
public static bool Enabled
Field Value
Type Description
System.Boolean

Properties

CurrentTime

Declaration
public static MyTimeSpan CurrentTime { get; }
Property Value
Type Description
MyTimeSpan

Effects

Declaration
public static IEnumerable<MyParticleEffect> Effects { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<MyParticleEffect>

InstanceCount

Declaration
public static int InstanceCount { get; }
Property Value
Type Description
System.Int32

Paused

Declaration
public static bool Paused { get; set; }
Property Value
Type Description
System.Boolean

Methods

LoadData()

Declaration
public override void LoadData()
Overrides
MySessionComponentBase.LoadData()

OnRemoved(UInt32)

Declaration
public static void OnRemoved(uint id)
Parameters
Type Name Description
System.UInt32 id

RecreateParticleEffects(MyParticleEffectData)

Declaration
public void RecreateParticleEffects(MyParticleEffectData data)
Parameters
Type Name Description
VRage.Render.Particles.MyParticleEffectData data

RemoveParticleEffect(MyParticleEffect)

Declaration
public static void RemoveParticleEffect(MyParticleEffect effect)
Parameters
Type Name Description
MyParticleEffect effect

RemoveParticleEffects(MyParticleEffectData)

Declaration
public void RemoveParticleEffects(MyParticleEffectData data)
Parameters
Type Name Description
VRage.Render.Particles.MyParticleEffectData data

ScheduleUpdate(MyParticleEffect)

Declaration
public static void ScheduleUpdate(MyParticleEffect effect)
Parameters
Type Name Description
MyParticleEffect effect

TryCreateParticleEffect(Int32, out MyParticleEffect, Boolean)

Declaration
public static bool TryCreateParticleEffect(int id, out MyParticleEffect effect, bool userDraw = false)
Parameters
Type Name Description
System.Int32 id
MyParticleEffect effect
System.Boolean userDraw
Returns
Type Description
System.Boolean

TryCreateParticleEffect(Int32, out MyParticleEffect, ref MatrixD, ref Vector3D, UInt32, Boolean)

Declaration
public static bool TryCreateParticleEffect(int id, out MyParticleEffect effect, ref MatrixD effectMatrix, ref Vector3D worldPosition, uint parentID, bool userDraw = false)
Parameters
Type Name Description
System.Int32 id
MyParticleEffect effect
MatrixD effectMatrix
Vector3D worldPosition
System.UInt32 parentID
System.Boolean userDraw
Returns
Type Description
System.Boolean

TryCreateParticleEffect(String, out MyParticleEffect)

Declaration
public static bool TryCreateParticleEffect(string effectName, out MyParticleEffect effect)
Parameters
Type Name Description
System.String effectName
MyParticleEffect effect
Returns
Type Description
System.Boolean

TryCreateParticleEffect(String, MatrixD, out MyParticleEffect)

Declaration
public static bool TryCreateParticleEffect(string effectName, MatrixD worldMatrix, out MyParticleEffect effect)
Parameters
Type Name Description
System.String effectName
MatrixD worldMatrix
MyParticleEffect effect
Returns
Type Description
System.Boolean

TryCreateParticleEffect(String, ref MatrixD, ref Vector3D, UInt32, out MyParticleEffect)

Declaration
public static bool TryCreateParticleEffect(string effectName, ref MatrixD effectMatrix, ref Vector3D worldPosition, uint parentID, out MyParticleEffect effect)
Parameters
Type Name Description
System.String effectName
MatrixD effectMatrix
Vector3D worldPosition
System.UInt32 parentID
MyParticleEffect effect
Returns
Type Description
System.Boolean

TryCreateParticleEffect(String, ref MatrixD, ref Vector3D, UInt32, out MyParticleEffect, Int32)

Declaration
public static bool TryCreateParticleEffect(string effectName, ref MatrixD effectMatrix, ref Vector3D worldPosition, uint parentID, out MyParticleEffect effect, int keepXFramesAhead = 0)
Parameters
Type Name Description
System.String effectName
MatrixD effectMatrix
Vector3D worldPosition
System.UInt32 parentID
MyParticleEffect effect
System.Int32 keepXFramesAhead
Returns
Type Description
System.Boolean

UnloadData()

Declaration
protected override void UnloadData()
Overrides
MySessionComponentBase.UnloadData()

UpdateAfterSimulation()

Declaration
public override void UpdateAfterSimulation()
Overrides
MySessionComponentBase.UpdateAfterSimulation()
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾