C# 클래스 Source.Graphics.ParticleEmitter

Make an emitter if you want a continous stream of particles from some location (which can move) If you just want one spew of particles, use the method World.MakeParticles. This will probably be overwritten eventually
파일 보기 프로젝트 열기: HarkerGameDev/TheGame 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AngVel float
AngVelVar float
EmitterLocation Vector2
Enabled bool
LiveTime float
LiveTimeVar float
Red float
RedVar float
Size float
SizeVar float
VelVarX float
VelX float

Private Properties

프로퍼티 타입 설명
MakeParticle Particle

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void
ParticleEmitter ( List textures, Vector2 location, float particlesPerSec ) : System
Update ( float deltaTime ) : void

비공개 메소드들

메소드 설명
MakeParticle ( ) : Particle

메소드 상세

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

ParticleEmitter() 공개 메소드

public ParticleEmitter ( List textures, Vector2 location, float particlesPerSec ) : System
textures List
location Vector2
particlesPerSec float
리턴 System

Update() 공개 메소드

public Update ( float deltaTime ) : void
deltaTime float
리턴 void

프로퍼티 상세

AngVel 공개적으로 프로퍼티

public float AngVel
리턴 float

AngVelVar 공개적으로 프로퍼티

public float AngVelVar
리턴 float

EmitterLocation 공개적으로 프로퍼티

public Vector2 EmitterLocation
리턴 Vector2

Enabled 공개적으로 프로퍼티

public bool Enabled
리턴 bool

LiveTime 공개적으로 프로퍼티

public float LiveTime
리턴 float

LiveTimeVar 공개적으로 프로퍼티

public float LiveTimeVar
리턴 float

Red 공개적으로 프로퍼티

public float Red
리턴 float

RedVar 공개적으로 프로퍼티

public float RedVar
리턴 float

Size 공개적으로 프로퍼티

public float Size
리턴 float

SizeVar 공개적으로 프로퍼티

public float SizeVar
리턴 float

VelVarX 공개적으로 프로퍼티

public float VelVarX
리턴 float

VelX 공개적으로 프로퍼티

public float VelX
리턴 float