C# Класс PlayGround.Engine.Emitters.PointEmitter

======================================== .NET Framework 3.0 Custom Control ======================================== Follow steps 1a or 1b and then 2 to use this custom control in a XAML file. Step 1a) Using this custom control in a XAML file that exists in the current project. Add this XmlNamespace attribute to the root element of the markup file where it is to be used: xmlns:MyNamespace="clr-namespace:SandBox.Engine.Controls" Step 1b) Using this custom control in a XAML file that exists in a different project. Add this XmlNamespace attribute to the root element of the markup file where it is to be used: xmlns:MyNamespace="clr-namespace:SandBox.Engine.Controls;assembly=SandBox.Engine.Controls" You will also need to add a project reference from the project where the XAML file lives to this project and Rebuild to avoid compilation errors: Right click on the target project in the Solution Explorer and "Add Reference"->"Projects"->[Browse to and select this project] Step 2) Go ahead and use your control in the XAML file. Note that Intellisense in the XML editor does not currently work on custom controls and its child elements.
Наследование: Emitter
Показать файл Открыть проект

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

Метод Описание
AddParticle ( PlayGround.Engine.Controls.ParticleSystem system, PlayGround.Engine.Controls.Particle particle ) : void

Add a particle to the system.

EndInit ( ) : void

Init the width and height to one and set the canvas left and top

UpdateParticle ( PlayGround.Engine.Controls.Particle particle ) : void

Update the particle

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

Метод Описание
PointEmitter ( ) : System.Windows

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

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

Add a particle to the system.
public AddParticle ( PlayGround.Engine.Controls.ParticleSystem system, PlayGround.Engine.Controls.Particle particle ) : void
system PlayGround.Engine.Controls.ParticleSystem
particle PlayGround.Engine.Controls.Particle
Результат void

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

Init the width and height to one and set the canvas left and top
public EndInit ( ) : void
Результат void

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

Update the particle
public UpdateParticle ( PlayGround.Engine.Controls.Particle particle ) : void
particle PlayGround.Engine.Controls.Particle
Результат void