|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CPSFaceLookAt Class ReferenceA FaceLookAt particle These particles can have 2 different size (width and height) when activated.
More...
#include <ps_face_look_at.h>
Inheritance diagram for NL3D::CPSFaceLookAt:
List of all members.
Detailed Description
A FaceLookAt particle These particles can have 2 different size (width and height) when activated.
Definition at line 46 of file ps_face_look_at.h.
Constructor & Destructor Documentation
NL3D::CPSFaceLookAt::CPSFaceLookAt |
( |
CSmartPtr< ITexture > |
tex = NULL |
) |
|
|
Member Function Documentation
void NL3D::CPSFaceLookAt::activateMotionBlur |
( |
float |
coeff = 1.f, |
|
|
float |
threshold = 1.f |
|
) |
[inline] |
|
|
activate 'fake' motion blur (its done by deforming the quad) This is slower, however.
This has no effect with rotated particles. -
Parameters:
-
coeff |
a coefficient for motion blur (too high value may give unrealistic result) 0 deactivate the motion blur |
threshold |
: speed will be clamped below this value |
Definition at line 66 of file ps_face_look_at.h.
References _MotionBlurCoeff, and _Threshold. |
void NL3D::CPSFaceLookAt::deleteElement |
( |
uint32 |
|
) |
[protected, virtual] |
|
void NL3D::CPSFaceLookAt::draw |
( |
bool |
opaque |
) |
[protected, virtual] |
|
virtual CPSLocated* NL3D::CPSFaceLookAt::getAngle2DOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
float NL3D::CPSFaceLookAt::getMotionBlurCoeff |
( |
void |
|
) |
const [inline] |
|
float NL3D::CPSFaceLookAt::getMotionBlurThreshold |
( |
void |
|
) |
const [inline] |
|
const CPSSizedParticle& NL3D::CPSFaceLookAt::getSecondSize |
( |
void |
|
) |
const [inline] |
|
bool NL3D::CPSFaceLookAt::hasIndependantSizes |
( |
void |
|
) |
const [inline] |
|
void NL3D::CPSFaceLookAt::newElement |
( |
CPSLocated * |
emitterLocated, |
|
|
uint32 |
emitterIndex |
|
) |
[protected, virtual] |
|
NL3D::CPSFaceLookAt::NLMISC_DECLARE_CLASS |
( |
CPSFaceLookAt |
|
) |
|
|
void NL3D::CPSFaceLookAt::resize |
( |
uint32 |
|
) |
[protected, virtual] |
|
|
===========================================================================================.
Reimplemented from NL3D::CPSQuad.
Definition at line 569 of file ps_face_look_at.cpp. |
void NL3D::CPSFaceLookAt::setIndependantSizes |
( |
bool |
enable = true |
) |
[inline] |
|
|
Setting this to true allows to have independant height and width for these particles.
The interface to manage the second size can be obtained from getSecondSize(), which correspond to the height of particles. The default is to not have independant sizes
Definition at line 92 of file ps_face_look_at.h.
References _IndependantSizes. |
void NL3D::CPSFaceLookAt::setMotionBlurCoeff |
( |
float |
coeff |
) |
[inline] |
|
void NL3D::CPSFaceLookAt::setMotionBlurThreshold |
( |
float |
threshold |
) |
[inline] |
|
Friends And Related Function Documentation
friend class CPSFaceLookAtHelper [friend]
|
|
Member Data Documentation
bool NL3D::CPSFaceLookAt::_IndependantSizes [protected]
|
|
float NL3D::CPSFaceLookAt::_MotionBlurCoeff [protected]
|
|
float NL3D::CPSFaceLookAt::_Threshold [protected]
|
|
The documentation for this class was generated from the following files:
|
|