|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CPSTexturedParticle Class Referencethis class adds a texture to a particle.
More...
#include <ps_particle_basic.h>
Inheritance diagram for NL3D::CPSTexturedParticle:
List of all members.
Detailed Description
this class adds a texture to a particle.
The texture can be animated or not. it can be used by public multiple inheritance. The frame animation are all stored in the same texture for optimisation so it's not suited for large anim...
Definition at line 388 of file ps_particle_basic.h.
Constructor & Destructor Documentation
NL3D::CPSTexturedParticle::CPSTexturedParticle |
( |
|
) |
|
|
|
===================================================================================.
Definition at line 357 of file ps_particle_basic.cpp. |
NL3D::CPSTexturedParticle::~CPSTexturedParticle |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NL3D::CPSTexturedParticle::deleteTextureIndexElement |
( |
uint32 |
index |
) |
[inline, protected] |
|
const ITexture* NL3D::CPSTexturedParticle::getTexture |
( |
void |
|
) |
const [inline] |
|
ITexture* NL3D::CPSTexturedParticle::getTexture |
( |
void |
|
) |
[inline] |
|
const CTextureGrouped* NL3D::CPSTexturedParticle::getTextureGroup |
( |
void |
|
) |
const [inline] |
|
|
get the texture group used if there's a texture scheme, const version. (if null, there's no texture animation).
Definition at line 419 of file ps_particle_basic.h.
References _TexGroup. |
CTextureGrouped* NL3D::CPSTexturedParticle::getTextureGroup |
( |
void |
|
) |
[inline] |
|
|
get the texture group used. it discard any previous single texture. (if null, there's no texture animation).
Definition at line 416 of file ps_particle_basic.h.
References _TexGroup. |
sint32 NL3D::CPSTexturedParticle::getTextureIndex |
( |
void |
|
) |
const [inline] |
|
virtual CPSLocated* NL3D::CPSTexturedParticle::getTextureIndexOwner |
( |
void |
|
) |
[protected, pure virtual] |
|
const CPSAttribMaker<sint32>* NL3D::CPSTexturedParticle::getTextureIndexScheme |
( |
void |
|
) |
const [inline] |
|
void NL3D::CPSTexturedParticle::newTextureIndexElement |
( |
CPSLocated * |
emitterLocated, |
|
|
uint32 |
emitterIndex |
|
) |
[inline, protected] |
|
void NL3D::CPSTexturedParticle::resizeTextureIndex |
( |
uint32 |
size |
) |
[inline, protected] |
|
|
===================================================================================.
Definition at line 370 of file ps_particle_basic.cpp. |
void NL3D::CPSTexturedParticle::setTexture |
( |
CSmartPtr< ITexture > |
tex |
) |
|
|
void NL3D::CPSTexturedParticle::setTextureIndex |
( |
sint32 |
index |
) |
|
|
|
===================================================================================.
It tells which frame to use
Definition at line 315 of file ps_particle_basic.cpp.
References nlassert. |
virtual void NL3D::CPSTexturedParticle::updateMatAndVbForTexture |
( |
void |
|
) |
[protected, pure virtual] |
|
Member Data Documentation
CSmartPtr<ITexture> NL3D::CPSTexturedParticle::_Tex [protected]
|
|
CSmartPtr<CTextureGrouped> NL3D::CPSTexturedParticle::_TexGroup [protected]
|
|
sint32 NL3D::CPSTexturedParticle::_TextureIndex [protected]
|
|
The documentation for this class was generated from the following files:
|
|