C# Class Cascade.Particle

Show file Open project: RIT-Tool-Time/Cascade

Public Properties

Property Type Description
Behaviors List
BlendState Microsoft.Xna.Framework.Graphics.BlendState
Depth float
Gravity float
MotionStretch bool
Pos Vector3
PrimitiveCount int
RasterizerState RasterizerState
Rotation float
Scale Vector2
ScaleSpeed Vector2
Speed Vector3
Vertices CascadeVertex[]

Protected Properties

Property Type Description
color Color
manager ParticleManager

Public Methods

Method Description
Draw ( GraphicsDevice GraphicsDevice, GraphicsDeviceManager graphics, SpriteBatch spriteBatch, RenderTarget2D defaultRenderTarget, float width, float height ) : void
IsTransparent ( ) : bool
Particle ( ParticleManager Manager, Vector3 pos ) : System
Remove ( ) : void
SetVertexPositions ( ) : void
Update ( ) : void

Method Details

Draw() public method

public Draw ( GraphicsDevice GraphicsDevice, GraphicsDeviceManager graphics, SpriteBatch spriteBatch, RenderTarget2D defaultRenderTarget, float width, float height ) : void
GraphicsDevice GraphicsDevice
graphics GraphicsDeviceManager
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
defaultRenderTarget Microsoft.Xna.Framework.Graphics.RenderTarget2D
width float
height float
return void

IsTransparent() public method

public IsTransparent ( ) : bool
return bool

Particle() public method

public Particle ( ParticleManager Manager, Vector3 pos ) : System
Manager ParticleManager
pos Vector3
return System

Remove() public method

public Remove ( ) : void
return void

SetVertexPositions() public method

public SetVertexPositions ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

Behaviors public property

public List Behaviors
return List

BlendState public property

public BlendState,Microsoft.Xna.Framework.Graphics BlendState
return Microsoft.Xna.Framework.Graphics.BlendState

Depth public property

public float Depth
return float

Gravity public property

public float Gravity
return float

MotionStretch public property

public bool MotionStretch
return bool

Pos public property

public Vector3 Pos
return Vector3

PrimitiveCount public property

public int PrimitiveCount
return int

RasterizerState public property

public RasterizerState RasterizerState
return RasterizerState

Rotation public property

public float Rotation
return float

Scale public property

public Vector2 Scale
return Vector2

ScaleSpeed public property

public Vector2 ScaleSpeed
return Vector2

Speed public property

public Vector3 Speed
return Vector3

Vertices public property

public CascadeVertex[] Vertices
return CascadeVertex[]

color protected property

protected Color color
return Color

manager protected property

protected ParticleManager manager
return ParticleManager