Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Particle pool used to store sprite based particles and populate vertex/index buffers at rendering stage.

Namespace: Visual3D.Graphics3D.Particles.Rendering
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public class SpriteParticlePool : ParticlePoolBase
Public Class SpriteParticlePool _
	Inherits ParticlePoolBase

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
SpriteParticlePool(ParticleSystem)
Initializes a new instance of the SpriteParticlePool class
AllocParticle()()()()
Allocate new particle in the pool.
(Inherited from ParticlePoolBase.)
Capacity
Gets max. size of the particle pool without reallocation of memory.
(Inherited from ParticlePoolBase.)
CreateBuffers()()()()
Create vertex and index buffers for particle system.
(Overrides ParticlePoolBase..::..CreateBuffers()()()().)
Dispose()()()() (Inherited from ParticlePoolBase.)
DisposeBuffers()()()() (Overrides ParticlePoolBase..::..DisposeBuffers()()()().)
EnsurePrivateDataArraysCorrectSize()()()() (Inherited from ParticlePoolBase.)
GetPrivateAffectorDataArray(Int32) (Inherited from ParticlePoolBase.)
GetRenderables(IList<(Of <<'(IRenderable>)>>), RenderContext) (Overrides ParticlePoolBase..::..GetRenderables(IList<(Of <<'(IRenderable>)>>), RenderContext).)
Name (Inherited from ParticlePoolBase.)
ParticleCount
Gets number of particles allocated.
(Inherited from ParticlePoolBase.)
ParticleOrder
Order of particles for particle system with per-particle sort. Contains zero-based indices of particles from furthest to nearest to the main camera in current scene. For unsorted particles contains numbers from 0 to (ParticleCount-1).
(Inherited from ParticlePoolBase.)
Particles
Array of particles.
(Inherited from ParticlePoolBase.)
ParticleSystem
Gets reference to the owner particle system.
(Inherited from ParticlePoolBase.)
ReleaseAllParticles()()()() (Inherited from ParticlePoolBase.)
ReleaseParticle(Int32)
Remove particle at given index from the pool.
(Inherited from ParticlePoolBase.)
SortParticles(Vector3)
Sorts particles based on distance from the main camera.
(Inherited from ParticlePoolBase.)
ToString()()()() (Overrides ParticlePoolBase..::..ToString()()()().)
UpdateBuffers()()()() (Overrides ParticlePoolBase..::..UpdateBuffers()()()().)

Inheritance Hierarchy

System..::..Object
  Visual3D.Graphics3D.Particles..::..ParticlePoolBase
    Visual3D.Graphics3D.Particles.Rendering..::..SpriteParticlePool

See Also