|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CPSFace Class ReferenceA face particle Unlike FaceLookAt, these particle can have an orientation in space.
More...
#include <ps_face.h>
Inheritance diagram for NL3D::CPSFace:
List of all members.
Detailed Description
A face particle Unlike FaceLookAt, these particle can have an orientation in space.
They are drawn with an angle bias of 45° in their local basis (for optimisation purpose)
^ y | 0 / \ / \ 3 1--> x \ / \ / 2 If all particle must rotate the same, but with a rotattionnal bias, a hint can be provided, so that there are batch of particle that share the same orientation. The users must give the number of various phase This is the fastest. Other cases need an attribute maker that produce a couple of vectors , giving the x & y direction of the local basis (plane particle)
Definition at line 60 of file ps_face.h.
Constructor & Destructor Documentation
NL3D::CPSFace::CPSFace |
( |
CSmartPtr< ITexture > |
tex = NULL |
) |
|
|
Member Function Documentation
uint32 NL3D::CPSFace::checkHintRotateTheSame |
( |
float & |
min, |
|
|
float & |
max |
|
) |
const [inline, virtual] |
|
void NL3D::CPSFace::deleteElement |
( |
uint32 |
index |
) |
[protected, virtual] |
|
void NL3D::CPSFace::disableHintRotateTheSame |
( |
void |
|
) |
[inline, virtual] |
|
void NL3D::CPSFace::fillIndexesInPrecompBasis |
( |
void |
|
) |
[protected] |
|
virtual CPSLocated* NL3D::CPSFace::getPlaneBasisOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
void NL3D::CPSFace::hintRotateTheSame |
( |
uint32 |
nbConfiguration, |
|
|
float |
minAngularVelocity = NLMISC::Pi, |
|
|
float |
maxAngularVelocity = NLMISC::Pi |
|
) |
[virtual] |
|
void NL3D::CPSFace::newElement |
( |
CPSLocated * |
emitterLocated, |
|
|
uint32 |
emitterIndex |
|
) |
[protected, virtual] |
|
NL3D::CPSFace::NLMISC_DECLARE_CLASS |
( |
CPSFace |
|
) |
|
|
void NL3D::CPSFace::resize |
( |
uint32 |
size |
) |
[protected, virtual] |
|
|
======================================================================================.
Reimplemented from NL3D::CPSQuad.
Definition at line 284 of file ps_face.cpp. |
|
======================================================================================.
Reimplemented from NL3D::CPSParticle.
Definition at line 211 of file ps_face.cpp.
References _IndexInPrecompBasis, NL3D::CPSLocatedBindable::_Owner, _PrecompBasis, NL3D::CPSParticle::computeSrcStep, NL3D::CPSQuad::hasOpaqueFaces, NL3D::CPSQuad::hasTransparentFaces, NL3D::PSBlendRender, NL3D::PSMotion, NL3D::PSSolidRender, NL3D::PSToolRender, NL3D::CPSParticle::showTool, step, NL3D::TAnimationTime, NL3D::TIteratorVectStep1616, and NL3D::TPSProcessPass.
Referenced by step. |
Friends And Related Function Documentation
friend class CPSFaceHelper [friend]
|
|
Member Data Documentation
std::vector<uint32> NL3D::CPSFace::_IndexInPrecompBasis [protected]
|
|
float NL3D::CPSFace::_MaxAngularVelocity [protected]
|
|
float NL3D::CPSFace::_MinAngularVelocity [protected]
|
|
The documentation for this class was generated from the following files:
|
|