|
raSystem
1.0 bata
|
#include <raParticleSystem.h>
Public Member Functions | |
| raParticleSystem (raSmartPointer< raDirectX > dx, raTexturedMaterial *mat, bool bAdditive=false, float radius=1.0f, float gravity=1.0f, float Speed=2.0f, float max_age=0.0f) | |
| virtual | ~raParticleSystem (void) |
| void | AddParticles (int n, float x=0, float y=0, float z=0) |
| void | AddParticle (float x=0, float y=0, float z=0, float vx=0, float vy=0, float vz=0) |
| virtual bool | RenderMesh (LPCSTR techniqueName="") |
| virtual bool | Update (float fTime, float fRunTime) |
Public Member Functions inherited from raEntity< POINTSPRITEVERTEX, false > | |
| raEntity (raSmartPointer< raDirectX >, raMaterial *pMaterial, bool bAlpha=false, bool bAdditive=false, UINT numMaterials=1) | |
| ~raEntity () | |
| virtual bool | CreateMesh () |
| virtual bool | DestroyMesh () |
| virtual bool | Intersects (const raVector3 *pRayPos, const raVector3 *pRayDir, float *pDist) |
| virtual ID3D11Buffer * | GetVertexBuffer () |
| virtual ID3D11Buffer * | GetIndexBuffer () |
| virtual UINT | GetStrideSize () |
| virtual D3D11_PRIMITIVE_TOPOLOGY | GetPrimitiveTopology (UINT n) |
| virtual SDKMESH_SUBSET * | GetSubset (UINT n) |
| virtual UINT | GetNumSubsets () |
Public Member Functions inherited from raVisual | |
| raVisual (raSmartPointer< raDirectX > dx, bool bAlpha=false, bool bAdditive=false, bool bDepthDisable=false, D3D11_FILL_MODE fillMode=D3D11_FILL_SOLID, D3D11_CULL_MODE cullMode=D3D11_CULL_BACK) | |
| ~raVisual (void) | |
| virtual bool | CreateVertexLayout () |
| virtual bool | Create () |
| virtual void | Destroy () |
| virtual void | CreateEffectVariables () |
| virtual void | DestroyEffectVariables () |
| virtual void | SetupEffectVariables (const raMatrix &pView, const raMatrix &pProj, const raLight *pLight) |
| virtual bool | Render (UINT drawOrder, const raMatrix &pView, const raMatrix &pProj, const raLight *pLight, LPCSTR techniqueName="") |
| virtual void | CreateMaterials () |
| virtual void | DestroyMaterials () |
| bool | SetState () |
| bool | RestoreState () |
| virtual UINT | GetNumMaterials () |
| virtual raMaterial * | GetMaterial (UINT n) |
| void | SetMaterial (UINT n, raMaterial *pMaterial) |
| void | SetMaterial_1 (UINT n, raMaterial *pMaterial) |
| void | SetTexture (UINT n, LPCSTR textureFileName) |
| void | SetTexture_1 (UINT n, LPCSTR textureFileName) |
| virtual void | SetVisible (bool bVisible) |
| virtual void | SetDrawOder (UINT Value) |
| virtual void | SetSelected (bool bSelected) |
| virtual const float | GetBoundingsphereRadius () |
Public Member Functions inherited from raRender | |
| raRender (raSmartPointer< raDirectX > dx, const raMatrix *mWorld=NULL, LPCSTR Name="Render") | |
| virtual | ~raRender (void) |
| LPCSTR | GetName () |
| void | SetName (LPCSTR Name) |
| virtual void | SetWorldMatrix (const raMatrix &value) |
| virtual raMatrix * | GetWorldMatrix (void) |
Public Member Functions inherited from IRAMesh | |
| virtual | ~IRAMesh () |
Static Public Attributes | |
| static const int | MAXPARTICLES = 500000 |
Static Public Attributes inherited from raVisual | |
| static raString | EffectfileName |
| static raString | TechniqueName |
| static raString | TexturedTechniqueName |
| static raString | SkinnedEffectfileName |
| static raString | SkinnedEffectfileName2 |
| static raString | SkinnedTechniqueName |
| static raString | SkinnedTexturedTechniqueName |
Protected Member Functions | |
| virtual void | SetupVertices () |
Protected Member Functions inherited from raEntity< POINTSPRITEVERTEX, false > | |
| virtual void | SetupIndices () |
| virtual void | CreateVertexBuffer () |
| virtual void | CreateIndexBuffer () |
| virtual void | DeleteTempData () |
| virtual const D3D11_INPUT_ELEMENT_DESC * | GetVertexLayout () |
| virtual UINT | GetNumElements () |
| virtual DXGI_FORMAT | GetIndexBufferFormat () |
| virtual void | ComputeBoundingBox () |
Protected Member Functions inherited from raVisual | |
| bool | CreateAlphaBlendState () |
| bool | CreateDepthStencilState () |
| bool | CreateRasterizerState () |
Definition at line 16 of file raParticleSystem.h.
| raParticleSystem::raParticleSystem | ( | raSmartPointer< raDirectX > | dx, |
| raTexturedMaterial * | mat, | ||
| bool | bAdditive = false, |
||
| float | radius = 1.0f, |
||
| float | gravity = 1.0f, |
||
| float | Speed = 2.0f, |
||
| float | max_age = 0.0f |
||
| ) |
Definition at line 22 of file raParticleSystem.cpp.
|
virtual |
Definition at line 18 of file raParticleSystem.cpp.
| void raParticleSystem::AddParticle | ( | float | x = 0, |
| float | y = 0, |
||
| float | z = 0, |
||
| float | vx = 0, |
||
| float | vy = 0, |
||
| float | vz = 0 |
||
| ) |
Definition at line 127 of file raParticleSystem.cpp.
| void raParticleSystem::AddParticles | ( | int | n, |
| float | x = 0, |
||
| float | y = 0, |
||
| float | z = 0 |
||
| ) |
Definition at line 105 of file raParticleSystem.cpp.
|
virtual |
Reimplemented from raEntity< POINTSPRITEVERTEX, false >.
Definition at line 97 of file raParticleSystem.cpp.
|
protectedvirtual |
Implements raEntity< POINTSPRITEVERTEX, false >.
Definition at line 34 of file raParticleSystem.cpp.
|
virtual |
Reimplemented from raRender.
Definition at line 61 of file raParticleSystem.cpp.
|
static |
Definition at line 19 of file raParticleSystem.h.