C# Class Cascade.Particle

Mostrar archivo 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_oe property

public List Behaviors
return List

BlendState public_oe property

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

Depth public_oe property

public float Depth
return float

Gravity public_oe property

public float Gravity
return float

MotionStretch public_oe property

public bool MotionStretch
return bool

Pos public_oe property

public Vector3 Pos
return Vector3

PrimitiveCount public_oe property

public int PrimitiveCount
return int

RasterizerState public_oe property

public RasterizerState RasterizerState
return RasterizerState

Rotation public_oe property

public float Rotation
return float

Scale public_oe property

public Vector2 Scale
return Vector2

ScaleSpeed public_oe property

public Vector2 ScaleSpeed
return Vector2

Speed public_oe property

public Vector3 Speed
return Vector3

Vertices public_oe property

public CascadeVertex[] Vertices
return CascadeVertex[]

color protected_oe property

protected Color color
return Color

manager protected_oe property

protected ParticleManager manager
return ParticleManager