C# Класс ProjectMercury.EffectEditor.Core

Наследование: System.Windows.Forms.ApplicationContext
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

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

Приватные методы

Метод Описание
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.

Описание методов

Core() публичный Метод

Initializes a new instance of the Core class.
public Core ( ) : System
Результат System

Dispose() защищенный Метод

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.
Результат void

Interface_ControllerAdded() публичный Метод

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.
Результат void

Interface_ControllerCloned() публичный Метод

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.
Результат void

Interface_ControllerRemoved() публичный Метод

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.
Результат void

Interface_EmitterAdded() публичный Метод

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.
Результат void

Interface_EmitterCloned() публичный Метод

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.
Результат void

Interface_EmitterReinitialised() публичный Метод

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.
Результат void

Interface_EmitterRemoved() публичный Метод

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.
Результат void

Interface_ModifierAdded() публичный Метод

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.
Результат void

Interface_ModifierCloned() публичный Метод

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.
Результат void

Interface_ModifierRemoved() публичный Метод

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.
Результат void