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
파일 보기 프로젝트 열기: JLaferri/ChallongeMatchDisplay

공개 메소드들

메소드 설명
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