Space Engineers
Public Member Functions | Static Public Attributes | Properties | List of all members
Sandbox.AppCode.MyExternalAppBase Class Reference
Inheritance diagram for Sandbox.AppCode.MyExternalAppBase:
VRageRender.ExternalApp.IExternalApp

Public Member Functions

void Run (VRageGameServices services, IntPtr windowHandle, bool customRenderLoop=false, MySandboxGame game=null)
 
virtual void GameExit ()
 
void Dispose ()
 
void RunSingleFrame ()
 
void EndLoop ()
 
virtual void Initialize (Sandbox.Engine.Platform.Game game)
 
virtual void UpdateMainThread ()
 
virtual void Update (bool canDraw)
 
virtual void Draw (bool canDraw)
 
virtual void GameLoaded (object sender, EventArgs e)
 
MyParticleEffect CreateParticle (int id)
 
void RemoveParticle (MyParticleEffect effect)
 
MatrixD GetSpectatorMatrix ()
 
MyParticleGeneration AllocateGeneration ()
 
MyParticleGPUGeneration AllocateGPUGeneration ()
 
MyParticleLight AllocateParticleLight ()
 
MyParticleSound AllocateParticleSound ()
 
MyParticleEffect CreateLibraryEffect ()
 
void AddParticleToLibrary (MyParticleEffect effect)
 
void UpdateParticleLibraryID (int ID)
 
void RemoveParticleFromLibrary (int ID)
 
IReadOnlyDictionary< int, MyParticleEffectGetLibraryEffects ()
 
IReadOnlyDictionary< string, MyParticleEffectGetParticleEffectsByName ()
 
void SaveParticlesLibrary (string file)
 
void LoadParticlesLibrary (string file)
 
void FlushParticles ()
 
void LoadDefinitions ()
 
float GetStepInSeconds ()
 

Static Public Attributes

static MySandboxGame Static
 

Properties

static bool IsEditorActive [get, set]
 
static bool IsPresent [get, set]
 

Detailed Description

Definition at line 21 of file MyExternalAppBase.cs.

Member Function Documentation

void Sandbox.AppCode.MyExternalAppBase.AddParticleToLibrary ( MyParticleEffect  effect)
inline

Definition at line 196 of file MyExternalAppBase.cs.

MyParticleGeneration Sandbox.AppCode.MyExternalAppBase.AllocateGeneration ( )
inline

Definition at line 162 of file MyExternalAppBase.cs.

MyParticleGPUGeneration Sandbox.AppCode.MyExternalAppBase.AllocateGPUGeneration ( )
inline

Definition at line 169 of file MyExternalAppBase.cs.

MyParticleLight Sandbox.AppCode.MyExternalAppBase.AllocateParticleLight ( )
inline

Definition at line 176 of file MyExternalAppBase.cs.

MyParticleSound Sandbox.AppCode.MyExternalAppBase.AllocateParticleSound ( )
inline

Definition at line 183 of file MyExternalAppBase.cs.

MyParticleEffect Sandbox.AppCode.MyExternalAppBase.CreateLibraryEffect ( )
inline

Definition at line 190 of file MyExternalAppBase.cs.

MyParticleEffect Sandbox.AppCode.MyExternalAppBase.CreateParticle ( int  id)
inline

Definition at line 142 of file MyExternalAppBase.cs.

void Sandbox.AppCode.MyExternalAppBase.Dispose ( )
inline

Definition at line 87 of file MyExternalAppBase.cs.

virtual void Sandbox.AppCode.MyExternalAppBase.Draw ( bool  canDraw)
inlinevirtual

Definition at line 131 of file MyExternalAppBase.cs.

void Sandbox.AppCode.MyExternalAppBase.EndLoop ( )
inline

Definition at line 98 of file MyExternalAppBase.cs.

void Sandbox.AppCode.MyExternalAppBase.FlushParticles ( )
inline

Definition at line 260 of file MyExternalAppBase.cs.

virtual void Sandbox.AppCode.MyExternalAppBase.GameExit ( )
inlinevirtual

Definition at line 82 of file MyExternalAppBase.cs.

virtual void Sandbox.AppCode.MyExternalAppBase.GameLoaded ( object  sender,
EventArgs  e 
)
inlinevirtual

Definition at line 135 of file MyExternalAppBase.cs.

IReadOnlyDictionary<int, MyParticleEffect> Sandbox.AppCode.MyExternalAppBase.GetLibraryEffects ( )
inline

Definition at line 211 of file MyExternalAppBase.cs.

IReadOnlyDictionary<string, MyParticleEffect> Sandbox.AppCode.MyExternalAppBase.GetParticleEffectsByName ( )
inline

Definition at line 216 of file MyExternalAppBase.cs.

MatrixD Sandbox.AppCode.MyExternalAppBase.GetSpectatorMatrix ( )
inline

Definition at line 153 of file MyExternalAppBase.cs.

float Sandbox.AppCode.MyExternalAppBase.GetStepInSeconds ( )
inline

Definition at line 277 of file MyExternalAppBase.cs.

virtual void Sandbox.AppCode.MyExternalAppBase.Initialize ( Sandbox.Engine.Platform.Game  game)
inlinevirtual

Definition at line 118 of file MyExternalAppBase.cs.

void Sandbox.AppCode.MyExternalAppBase.LoadDefinitions ( )
inline

Definition at line 269 of file MyExternalAppBase.cs.

void Sandbox.AppCode.MyExternalAppBase.LoadParticlesLibrary ( string  file)
inline

Definition at line 227 of file MyExternalAppBase.cs.

void Sandbox.AppCode.MyExternalAppBase.RemoveParticle ( MyParticleEffect  effect)
inline

Definition at line 148 of file MyExternalAppBase.cs.

void Sandbox.AppCode.MyExternalAppBase.RemoveParticleFromLibrary ( int  ID)
inline

Definition at line 206 of file MyExternalAppBase.cs.

void Sandbox.AppCode.MyExternalAppBase.Run ( VRageGameServices  services,
IntPtr  windowHandle,
bool  customRenderLoop = false,
MySandboxGame  game = null 
)
inline

Definition at line 43 of file MyExternalAppBase.cs.

void Sandbox.AppCode.MyExternalAppBase.RunSingleFrame ( )
inline

Definition at line 93 of file MyExternalAppBase.cs.

void Sandbox.AppCode.MyExternalAppBase.SaveParticlesLibrary ( string  file)
inline

Definition at line 222 of file MyExternalAppBase.cs.

virtual void Sandbox.AppCode.MyExternalAppBase.Update ( bool  canDraw)
inlinevirtual

Definition at line 127 of file MyExternalAppBase.cs.

virtual void Sandbox.AppCode.MyExternalAppBase.UpdateMainThread ( )
inlinevirtual

Implements VRageRender.ExternalApp.IExternalApp.

Definition at line 122 of file MyExternalAppBase.cs.

void Sandbox.AppCode.MyExternalAppBase.UpdateParticleLibraryID ( int  ID)
inline

Definition at line 201 of file MyExternalAppBase.cs.

Member Data Documentation

MySandboxGame Sandbox.AppCode.MyExternalAppBase.Static
static

Definition at line 23 of file MyExternalAppBase.cs.

Property Documentation

bool Sandbox.AppCode.MyExternalAppBase.IsEditorActive
staticgetset

Definition at line 27 of file MyExternalAppBase.cs.

bool Sandbox.AppCode.MyExternalAppBase.IsPresent
staticgetset

Definition at line 35 of file MyExternalAppBase.cs.


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