Space Engineers
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Properties | List of all members
VRage.Game.MyParticlesManager Class Reference
Inheritance diagram for VRage.Game.MyParticlesManager:
VRage.Game.Components.MySessionComponentBase VRage.Game.Components.Interfaces.IMyUserInputComponent

Public Member Functions

override void LoadData ()
 
override void UpdateAfterSimulation ()
 
override void Draw ()
 
- Public Member Functions inherited from VRage.Game.Components.MySessionComponentBase
virtual bool UpdatedBeforeInit ()
 
 MySessionComponentBase ()
 
void SetUpdateOrder (MyUpdateOrder order)
 
virtual void InitFromDefinition (MySessionComponentDefinition definition)
 
virtual void Init (MyObjectBuilder_SessionComponent sessionComponent)
 
virtual MyObjectBuilder_SessionComponent GetObjectBuilder ()
 
void AfterLoadData ()
 
void UnloadDataConditional ()
 
virtual void SaveData ()
 
virtual void BeforeStart ()
 
virtual void UpdateBeforeSimulation ()
 
virtual void Simulate ()
 
virtual void UpdatingStopped ()
 
virtual void HandleInput ()
 
override string ToString ()
 

Static Public Member Functions

static bool TryCreateParticleEffect (string effectName, out MyParticleEffect effect, bool userDraw=false)
 
static bool TryCreateParticleEffect (int id, out MyParticleEffect effect, bool userDraw=false)
 
static void RemoveParticleEffect (MyParticleEffect effect, bool fromBackground=false)
 
static void LogEffects ()
 
static void PrepareForDraw ()
 
static void DrawStart ()
 
static void DrawEnd ()
 

Static Public Attributes

static bool Enabled
 
static Func< Vector3D, Vector3CalculateGravityInPoint
 
static bool EnableCPUGenerations = true
 
static MyObjectsPool< MyParticleGenerationGenerationsPool = new MyObjectsPool<MyParticleGeneration>(4096)
 
static MyObjectsPool< MyParticleGPUGenerationGPUGenerationsPool = new MyObjectsPool<MyParticleGPUGeneration>(4096)
 
static MyObjectsPool< MyParticleLightLightsPool = new MyObjectsPool<MyParticleLight>(32)
 
static MyObjectsPool< MyParticleSoundSoundsPool = new MyObjectsPool<MyParticleSound>(512)
 
static MyObjectsPool< MyParticleEffectEffectsPool = new MyObjectsPool<MyParticleEffect>(2048)
 
static List< MyGPUEmitterGPUEmitters = new List<MyGPUEmitter>()
 
static List< MyGPUEmitterLightGPUEmittersLight = new List<MyGPUEmitterLight>()
 
static List< MyGPUEmitterTransformUpdateGPUEmitterTransforms = new List<MyGPUEmitterTransformUpdate>()
 

Protected Member Functions

override void UnloadData ()
 

Properties

static bool Paused [get, set]
 
static List< MyParticleEffectParticleEffectsForUpdate [get]
 
- Properties inherited from VRage.Game.Components.MySessionComponentBase
MyUpdateOrder UpdateOrder [get]
 
MyObjectBuilderType ObjectBuilderType [get]
 
bool Loaded [get]
 
bool Initialized [get]
 
MyDefinitionId Definition [get, set]
 
virtual Type[] Dependencies [get]
 
virtual bool IsRequiredByGame [get]
 Indicates whether a session component should be used in current configuration. Example: MyDestructionData component returns true only when game uses Havok Destruction More...
 

Additional Inherited Members

- Public Attributes inherited from VRage.Game.Components.MySessionComponentBase
readonly string DebugName
 
readonly int Priority
 
readonly Type ComponentType
 
IMySession Session
 

Detailed Description

Definition at line 18 of file MyParticlesManager.cs.

Member Function Documentation

override void VRage.Game.MyParticlesManager.Draw ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 274 of file MyParticlesManager.cs.

static void VRage.Game.MyParticlesManager.DrawEnd ( )
inlinestatic

Definition at line 244 of file MyParticlesManager.cs.

static void VRage.Game.MyParticlesManager.DrawStart ( )
inlinestatic

Definition at line 237 of file MyParticlesManager.cs.

override void VRage.Game.MyParticlesManager.LoadData ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 154 of file MyParticlesManager.cs.

static void VRage.Game.MyParticlesManager.LogEffects ( )
inlinestatic

Definition at line 180 of file MyParticlesManager.cs.

static void VRage.Game.MyParticlesManager.PrepareForDraw ( )
inlinestatic

Definition at line 228 of file MyParticlesManager.cs.

static void VRage.Game.MyParticlesManager.RemoveParticleEffect ( MyParticleEffect  effect,
bool  fromBackground = false 
)
inlinestatic

Definition at line 120 of file MyParticlesManager.cs.

static bool VRage.Game.MyParticlesManager.TryCreateParticleEffect ( string  effectName,
out MyParticleEffect  effect,
bool  userDraw = false 
)
inlinestatic

Definition at line 75 of file MyParticlesManager.cs.

static bool VRage.Game.MyParticlesManager.TryCreateParticleEffect ( int  id,
out MyParticleEffect  effect,
bool  userDraw = false 
)
inlinestatic

Definition at line 83 of file MyParticlesManager.cs.

override void VRage.Game.MyParticlesManager.UnloadData ( )
inlineprotectedvirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 138 of file MyParticlesManager.cs.

override void VRage.Game.MyParticlesManager.UpdateAfterSimulation ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 164 of file MyParticlesManager.cs.

Member Data Documentation

Func<Vector3D, Vector3> VRage.Game.MyParticlesManager.CalculateGravityInPoint
static

Definition at line 39 of file MyParticlesManager.cs.

MyObjectsPool<MyParticleEffect> VRage.Game.MyParticlesManager.EffectsPool = new MyObjectsPool<MyParticleEffect>(2048)
static

Definition at line 51 of file MyParticlesManager.cs.

bool VRage.Game.MyParticlesManager.EnableCPUGenerations = true
static

Definition at line 41 of file MyParticlesManager.cs.

bool VRage.Game.MyParticlesManager.Enabled
static

Definition at line 20 of file MyParticlesManager.cs.

MyObjectsPool<MyParticleGeneration> VRage.Game.MyParticlesManager.GenerationsPool = new MyObjectsPool<MyParticleGeneration>(4096)
static

Definition at line 46 of file MyParticlesManager.cs.

List<MyGPUEmitter> VRage.Game.MyParticlesManager.GPUEmitters = new List<MyGPUEmitter>()
static

Definition at line 56 of file MyParticlesManager.cs.

List<MyGPUEmitterLight> VRage.Game.MyParticlesManager.GPUEmittersLight = new List<MyGPUEmitterLight>()
static

Definition at line 57 of file MyParticlesManager.cs.

List<MyGPUEmitterTransformUpdate> VRage.Game.MyParticlesManager.GPUEmitterTransforms = new List<MyGPUEmitterTransformUpdate>()
static

Definition at line 58 of file MyParticlesManager.cs.

MyObjectsPool<MyParticleGPUGeneration> VRage.Game.MyParticlesManager.GPUGenerationsPool = new MyObjectsPool<MyParticleGPUGeneration>(4096)
static

Definition at line 47 of file MyParticlesManager.cs.

MyObjectsPool<MyParticleLight> VRage.Game.MyParticlesManager.LightsPool = new MyObjectsPool<MyParticleLight>(32)
static

Definition at line 48 of file MyParticlesManager.cs.

MyObjectsPool<MyParticleSound> VRage.Game.MyParticlesManager.SoundsPool = new MyObjectsPool<MyParticleSound>(512)
static

Definition at line 49 of file MyParticlesManager.cs.

Property Documentation

List<MyParticleEffect> VRage.Game.MyParticlesManager.ParticleEffectsForUpdate
staticget

Definition at line 66 of file MyParticlesManager.cs.

bool VRage.Game.MyParticlesManager.Paused
staticgetset

Definition at line 23 of file MyParticlesManager.cs.


The documentation for this class was generated from the following file: