|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CParticleSystemShape Class ReferenceThis class helps to instanciate a particle system (the shape contains a particle system prototype stored as a memory stream) Use the createInstance method to insert the system in a scene To load the shape from a file, use a shape stream.
More...
#include <particle_system_shape.h>
Inheritance diagram for NL3D::CParticleSystemShape:
List of all members.
Detailed Description
This class helps to instanciate a particle system (the shape contains a particle system prototype stored as a memory stream) Use the createInstance method to insert the system in a scene To load the shape from a file, use a shape stream.
Definition at line 60 of file particle_system_shape.h.
Constructor & Destructor Documentation
NL3D::CParticleSystemShape::CParticleSystemShape |
( |
|
) |
|
|
virtual NL3D::CParticleSystemShape::~CParticleSystemShape |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
|
===========================================================================.
A prototype will be created by copying the system in a memory stream NOTE : For now, prefer the instanciation from a file, which do not need reallocation
Definition at line 129 of file particle_system_shape.cpp.
References _DestroyModelWhenOutOfRange, _DestroyWhenOutOfFrustum, _MaxViewDist, _ParticleSystemProto, _PrecomputedBBox, _Sharing, _UsePrecomputedBBox, CParticleSystem, NLMISC::CMemStream::invert, NLMISC::IStream::isReading, nlassert, and NLMISC::IStream::serialPtr. |
virtual void NL3D::CParticleSystemShape::flushTextures |
( |
IDriver & |
driver |
) |
[inline, protected, virtual] |
|
void NL3D::CParticleSystemShape::getAABBox |
( |
NLMISC::CAABBox & |
bbox |
) |
const [virtual] |
|
CTrackDefaultBool* NL3D::CParticleSystemShape::getDefaultTriggerTrack |
( |
void |
|
) |
[inline] |
|
virtual float NL3D::CParticleSystemShape::getNumTriangles |
( |
float |
distance |
) |
[inline, virtual] |
|
|
this method is meaningless here : the load balancing observer for particle system compute the number of triangles from the Model, not the shape.
Implements NL3D::IShape.
Definition at line 118 of file particle_system_shape.h. |
bool NL3D::CParticleSystemShape::isShared |
( |
|
) |
const [inline] |
|
NL3D::CParticleSystemShape::NLMISC_DECLARE_CLASS |
( |
CParticleSystemShape |
|
) |
|
|
Friends And Related Function Documentation
friend class CParticleSystem [friend]
|
|
friend class CParticleSystemClipObs [friend]
|
|
friend class CParticleSystemDetailObs [friend]
|
|
friend class CParticleSystemModel [friend]
|
|
Member Data Documentation
bool NL3D::CParticleSystemShape::_DestroyModelWhenOutOfRange [protected]
|
|
bool NL3D::CParticleSystemShape::_DestroyWhenOutOfFrustum [protected]
|
|
float NL3D::CParticleSystemShape::_MaxViewDist [protected]
|
|
|
A memory stream containing a particle system.
Each system is instanciated from this prototype Nevertheless, we store some more system infos which are needed for its lifecycle mgt.
Definition at line 151 of file particle_system_shape.h.
Referenced by buildFromPS, and instanciatePS. |
bool NL3D::CParticleSystemShape::_Sharing [protected]
|
|
bool NL3D::CParticleSystemShape::_UsePrecomputedBBox [protected]
|
|
The documentation for this class was generated from the following files:
|
|