C# 클래스 Fusion.Engine.Graphics.ParticleSystem

Represents particle rendering and simulation system. 1. http://www.gdcvault.com/play/1014347/HALO-REACH-Effects 2. Gareth Thomas Compute-based GPU Particle
상속: System.DisposableBase
파일 보기 프로젝트 열기: demiurghg/FusionEngine 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ClearParticleBuffer void
EnumAction void
LoadContent void
ParticleSystem System
ParticleSystem System
RadialRandomVector Vector2
Render void
RenderGeneric void
RenderShadow void
SetupGPUParameters void
Simulate void
Simulate void
SwapParticleBuffers void

공개 메소드들

메소드 설명
InjectParticle ( Particle particle ) : void

Injects hard particle.

InjectParticle ( Vector2 pos, Vector2 vel, float lifeTime, float size0, float size1, float colorBoost = 1 ) : void

Injects hard particle.

KillParticles ( ) : void

Immediatly kills all living particles.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
ClearParticleBuffer ( ) : void

Makes all particles wittingly dead

EnumAction ( PipelineState ps, Flags flag ) : void

LoadContent ( object sender, EventArgs args ) : void

Loads content

ParticleSystem ( RenderSystem rs, RenderWorld renderWorld ) : System

ParticleSystem ( RenderSystem rs, ViewLayerHdr viewLayer ) : System

RadialRandomVector ( ) : Vector2

Returns random radial vector

Render ( GameTime gameTime, Camera camera, StereoEye stereoEye, HdrFrame viewFrame ) : void

RenderGeneric ( string passName, GameTime gameTime, Camera camera, Viewport viewport, Matrix view, Matrix projection, RenderTargetSurface colorTarget, DepthStencilSurface depthTarget, ShaderResource depthValues, Flags flags ) : void

RenderShadow ( GameTime gameTime, Viewport viewport, Matrix view, Matrix projection, RenderTargetSurface particleShadow, DepthStencilSurface depthBuffer ) : void

SetupGPUParameters ( float stepTime, RenderWorld renderWorld, Matrix view, Matrix projection, Flags flags ) : void

Simulate ( GameTime gameTime ) : void

Updates particle properties.

Simulate ( GameTime gameTime, Camera camera ) : void

Updates particle properties.

SwapParticleBuffers ( ) : void

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

InjectParticle() 공개 메소드

Injects hard particle.
public InjectParticle ( Particle particle ) : void
particle Particle
리턴 void

InjectParticle() 공개 메소드

Injects hard particle.
public InjectParticle ( Vector2 pos, Vector2 vel, float lifeTime, float size0, float size1, float colorBoost = 1 ) : void
pos Vector2
vel Vector2
lifeTime float
size0 float
size1 float
colorBoost float
리턴 void

KillParticles() 공개 메소드

Immediatly kills all living particles.
public KillParticles ( ) : void
리턴 void