|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CPSFanLight Class ReferenceA fan light particle.
More...
#include <ps_fan_light.h>
Inheritance diagram for NL3D::CPSFanLight:
List of all members.
Detailed Description
A fan light particle.
Definition at line 46 of file ps_fan_light.h.
Member Typedef Documentation
typedef std::vector<uint32> NL3D::CPSFanLight::TIndexBuffer [private]
|
|
Constructor & Destructor Documentation
NL3D::CPSFanLight::CPSFanLight |
( |
uint32 |
nbFans = 7 |
) |
|
|
NL3D::CPSFanLight::~CPSFanLight |
( |
|
) |
|
|
|
====================================================================================.
Definition at line 426 of file ps_fan_light.cpp. |
Member Function Documentation
bool NL3D::CPSFanLight::completeBBox |
( |
NLMISC::CAABBox & |
box |
) |
const [virtual] |
|
void NL3D::CPSFanLight::deleteElement |
( |
uint32 |
|
) |
[protected, virtual] |
|
void NL3D::CPSFanLight::draw |
( |
bool |
opaque |
) |
[private, virtual] |
|
virtual CPSLocated* NL3D::CPSFanLight::getAngle2DOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
virtual CPSLocated* NL3D::CPSFanLight::getColorOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
uint32 NL3D::CPSFanLight::getMaxNumFaces |
( |
void |
|
) |
const [virtual] |
|
float NL3D::CPSFanLight::getMoveIntensity |
( |
void |
|
) |
const [inline] |
|
uint32 NL3D::CPSFanLight::getNbFans |
( |
void |
|
) |
const [inline] |
|
uint NL3D::CPSFanLight::getNumFanlightsInVB |
( |
|
) |
const [private] |
|
|
====================================================================================.
Definition at line 546 of file ps_fan_light.cpp.
References _NbFans.
Referenced by getVBnIB. |
uint32 NL3D::CPSFanLight::getPhaseSmoothness |
( |
void |
|
) |
const [inline] |
|
float NL3D::CPSFanLight::getPhaseSpeed |
( |
void |
|
) |
const [inline] |
|
virtual CPSLocated* NL3D::CPSFanLight::getSizeOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
const ITexture* NL3D::CPSFanLight::getTexture |
( |
void |
|
) |
const [inline, virtual] |
|
ITexture* NL3D::CPSFanLight::getTexture |
( |
void |
|
) |
[inline, virtual] |
|
|
====================================================================================.
Definition at line 469 of file ps_fan_light.cpp.
References _ColoredTexVBMap, _ColoredVBMap, NL3D::CPSColoredParticle::_ColorScheme, _IBMap, _NbFans, _Tex, _TexVBMap, _VBMap, getNumFanlightsInVB, NLAISCRIPT::l, nlassert, TIndexBuffer, and TVBMap. |
bool NL3D::CPSFanLight::hasOpaqueFaces |
( |
void |
|
) |
[virtual] |
|
bool NL3D::CPSFanLight::hasTransparentFaces |
( |
void |
|
) |
[virtual] |
|
void NL3D::CPSFanLight::init |
( |
void |
|
) |
[private, virtual] |
|
void NL3D::CPSFanLight::initFanLightPrecalc |
( |
void |
|
) |
[static] |
|
void NL3D::CPSFanLight::newElement |
( |
CPSLocated * |
emitterLocated, |
|
|
uint32 |
emitterIndex |
|
) |
[protected, virtual] |
|
NL3D::CPSFanLight::NLMISC_DECLARE_CLASS |
( |
CPSFanLight |
|
) |
|
|
void NL3D::CPSFanLight::resize |
( |
uint32 |
size |
) |
[protected, virtual] |
|
void NL3D::CPSFanLight::setMoveIntensity |
( |
float |
intensity |
) |
[inline] |
|
void NL3D::CPSFanLight::setNbFans |
( |
uint32 |
nbFans |
) |
|
|
void NL3D::CPSFanLight::setPhaseSmoothness |
( |
uint32 |
smoothNess |
) |
[inline] |
|
|
Set the smoothness of phases.
The default is 0 which means no smoothness. n mean that the phase will be linearly interpolated between each n + 1 fans It ranges from 0 to 31
Definition at line 69 of file ps_fan_light.h.
References _PhaseSmoothness, and nlassert. |
void NL3D::CPSFanLight::setPhaseSpeed |
( |
float |
multiplier |
) |
|
|
|
====================================================================================.
Definition at line 280 of file ps_fan_light.cpp.
References _PhaseSpeed. |
void NL3D::CPSFanLight::setTexture |
( |
CSmartPtr< ITexture > |
tex |
) |
[inline, virtual] |
|
void NL3D::CPSFanLight::setupMaterial |
( |
|
) |
[inline, private] |
|
|
====================================================================================.
Definition at line 286 of file ps_fan_light.cpp.
References NL3D::CPSColoredParticle::_Color, NL3D::CPSColoredParticle::_ColorScheme, NL3D::CPSMaterial::_Mat, NL3D::CPSLocatedBindable::_Owner, _Tex, _Touched, _UseGlobalColor, NL3D::CPSMaterial::forceTexturedMaterialStages, NLMISC::CRGBA::modulateFromColor, NL3D::SetupModulatedStage, touch, and NLMISC::CRGBA::White.
Referenced by draw. |
void NL3D::CPSFanLight::touch |
( |
|
) |
[inline, private] |
|
void NL3D::CPSFanLight::updateMatAndVbForColor |
( |
void |
|
) |
[virtual] |
|
Friends And Related Function Documentation
friend class CPSFanLightHelper [friend]
|
|
Member Data Documentation
float NL3D::CPSFanLight::_MoveIntensity [private]
|
|
uint32 NL3D::CPSFanLight::_NbFans [private]
|
|
uint32 NL3D::CPSFanLight::_PhaseSmoothness [private]
|
|
float NL3D::CPSFanLight::_PhaseSpeed [private]
|
|
uint8 NL3D::CPSFanLight::_RandomPhaseTab [static, private]
|
|
bool NL3D::CPSFanLight::_RandomPhaseTabInitialized = false [static, private]
|
|
bool NL3D::CPSFanLight::_Touched [private]
|
|
bool NL3D::CPSFanLight::_UseGlobalColor [private]
|
|
The documentation for this class was generated from the following files:
|
|