C# Class ProjectMercury.EffectEditor.Core

Inheritance: System.Windows.Forms.ApplicationContext
Mostra file Open project: Indiefreaks/igf Class Usage Examples

Private Properties

Property Type Description
Compose void
InstantiateDefaultParticleEffect ParticleEffect
InstantiateRenderer ProjectMercury.Renderers.AbstractRenderer
Interface_Deserialize void
Interface_NewParticleEffect void
Interface_Ready void
Interface_Serialize void
Interface_TextureReferenceAdded void
Interface_TextureReferenceChanged void
LoadDefaultParticleTexture Texture2D
LoadDefaultTextureReferences List
Tick void

Public Methods

Method Description
Core ( ) : System

Initializes a new instance of the Core class.

Interface_ControllerAdded ( Object sender, ProjectMercury.EffectEditor.NewControllerEventArgs e ) : void

Handles the ControllerAdded event of the Interface.

Interface_ControllerCloned ( Object sender, ProjectMercury.EffectEditor.CloneControllerEventArgs e ) : void

Handles the ControllerCloned event of the Interface.

Interface_ControllerRemoved ( Object sender, ProjectMercury.EffectEditor.ControllerEventArgs e ) : void

Handles the ControllerRemoved event of the Interface.

Interface_EmitterAdded ( Object sender, ProjectMercury.EffectEditor.NewEmitterEventArgs e ) : void

Handles the EmitterAdded event of the Interface.

Interface_EmitterCloned ( Object sender, ProjectMercury.EffectEditor.CloneEmitterEventArgs e ) : void

Handles the EmitterCloned event of the Interface.

Interface_EmitterReinitialised ( Object sender, ProjectMercury.EffectEditor.EmitterReinitialisedEventArgs e ) : void

Handles the EmitterReinitialised event of the Interface.

Interface_EmitterRemoved ( Object sender, ProjectMercury.EffectEditor.EmitterEventArgs e ) : void

Handles the EmitterRemoved event of the Interface.

Interface_ModifierAdded ( Object sender, ProjectMercury.EffectEditor.NewModifierEventArgs e ) : void

Handles the ModifierAdded event of the Interface.

Interface_ModifierCloned ( Object sender, ProjectMercury.EffectEditor.CloneModifierEventArgs e ) : void

Handles the ModifierCloned event of the Interface.

Interface_ModifierRemoved ( Object sender, ProjectMercury.EffectEditor.ModifierEventArgs e ) : void

Handles the ModifierRemoved event of the Interface.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the T:System.Windows.Forms.ApplicationContext and optionally releases the managed resources.

Private Methods

Method Description
Compose ( ) : void

Composes this instance.

InstantiateDefaultParticleEffect ( ) : ParticleEffect

Instantiates the default particle effect.

InstantiateRenderer ( ) : ProjectMercury.Renderers.AbstractRenderer

Instantiates the renderer.

Interface_Deserialize ( Object sender, ProjectMercury.EffectEditor.SerializeEventArgs e ) : void

Handles the Deserialize event of the Interface.

Interface_NewParticleEffect ( Object sender, EventArgs e ) : void

Handles the NewParticleEffect event of the Interface.

Interface_Ready ( object sender, EventArgs e ) : void

Executed when the interface provider is ready.

Interface_Serialize ( Object sender, ProjectMercury.EffectEditor.SerializeEventArgs e ) : void

Handles the Serialize event of the Interface.

Interface_TextureReferenceAdded ( Object sender, NewTextureReferenceEventArgs e ) : void

Handles the TextureReferenceAdded event of the Interface.

Interface_TextureReferenceChanged ( Object sender, TextureReferenceChangedEventArgs e ) : void

Handles the TextureReferenceChanged event of the Interface.

LoadDefaultParticleTexture ( ) : Texture2D

Loads the default particle texture.

LoadDefaultTextureReferences ( ) : List

Loads the default texture references.

Tick ( Object sender, EventArgs e ) : void

Handles the Application Idle event.

Method Details

Core() public method

Initializes a new instance of the Core class.
public Core ( ) : System
return System

Dispose() protected method

Releases the unmanaged resources used by the T:System.Windows.Forms.ApplicationContext and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

Interface_ControllerAdded() public method

Handles the ControllerAdded event of the Interface.
public Interface_ControllerAdded ( Object sender, ProjectMercury.EffectEditor.NewControllerEventArgs e ) : void
sender Object The source of the event.
e ProjectMercury.EffectEditor.NewControllerEventArgs The instance containing the event data.
return void

Interface_ControllerCloned() public method

Handles the ControllerCloned event of the Interface.
public Interface_ControllerCloned ( Object sender, ProjectMercury.EffectEditor.CloneControllerEventArgs e ) : void
sender Object The source of the event.
e ProjectMercury.EffectEditor.CloneControllerEventArgs The instance containing the event data.
return void

Interface_ControllerRemoved() public method

Handles the ControllerRemoved event of the Interface.
public Interface_ControllerRemoved ( Object sender, ProjectMercury.EffectEditor.ControllerEventArgs e ) : void
sender Object The source of the event.
e ProjectMercury.EffectEditor.ControllerEventArgs The instance containing the event data.
return void

Interface_EmitterAdded() public method

Handles the EmitterAdded event of the Interface.
public Interface_EmitterAdded ( Object sender, ProjectMercury.EffectEditor.NewEmitterEventArgs e ) : void
sender Object The source of the event.
e ProjectMercury.EffectEditor.NewEmitterEventArgs The instance containing the event data.
return void

Interface_EmitterCloned() public method

Handles the EmitterCloned event of the Interface.
public Interface_EmitterCloned ( Object sender, ProjectMercury.EffectEditor.CloneEmitterEventArgs e ) : void
sender Object The source of the event.
e ProjectMercury.EffectEditor.CloneEmitterEventArgs The instance containing the event data.
return void

Interface_EmitterReinitialised() public method

Handles the EmitterReinitialised event of the Interface.
public Interface_EmitterReinitialised ( Object sender, ProjectMercury.EffectEditor.EmitterReinitialisedEventArgs e ) : void
sender Object The source of the event.
e ProjectMercury.EffectEditor.EmitterReinitialisedEventArgs The instance containing the event data.
return void

Interface_EmitterRemoved() public method

Handles the EmitterRemoved event of the Interface.
public Interface_EmitterRemoved ( Object sender, ProjectMercury.EffectEditor.EmitterEventArgs e ) : void
sender Object The source of the event.
e ProjectMercury.EffectEditor.EmitterEventArgs The instance containing the event data.
return void

Interface_ModifierAdded() public method

Handles the ModifierAdded event of the Interface.
public Interface_ModifierAdded ( Object sender, ProjectMercury.EffectEditor.NewModifierEventArgs e ) : void
sender Object The source of the event.
e ProjectMercury.EffectEditor.NewModifierEventArgs The instance containing the event data.
return void

Interface_ModifierCloned() public method

Handles the ModifierCloned event of the Interface.
public Interface_ModifierCloned ( Object sender, ProjectMercury.EffectEditor.CloneModifierEventArgs e ) : void
sender Object The source of the event.
e ProjectMercury.EffectEditor.CloneModifierEventArgs The instance containing the event data.
return void

Interface_ModifierRemoved() public method

Handles the ModifierRemoved event of the Interface.
public Interface_ModifierRemoved ( Object sender, ProjectMercury.EffectEditor.ModifierEventArgs e ) : void
sender Object The source of the event.
e ProjectMercury.EffectEditor.ModifierEventArgs The instance containing the event data.
return void