Class representing a single particle instance.
More...
#include <OgreParticle.h>
|
| Particle () |
|
void | _notifyOwner (ParticleSystem *owner) |
| Internal method for notifying the particle of it's owner.
|
|
void | _notifyVisualData (ParticleVisualData *vis) |
| Internal method for notifying the particle of it's optional visual data.
|
|
Real | getOwnHeight (void) const |
| Retrieves the particle's personal width, if hasOwnDimensions is true.
|
|
Real | getOwnWidth (void) const |
| Retrieves the particle's personal width, if hasOwnDimensions is true.
|
|
const Radian & | getRotation (void) const |
|
ParticleVisualData * | getVisualData (void) const |
| Get the optional visual data associated with the class.
|
|
bool | hasOwnDimensions (void) const |
| Returns true if this particle deviates from the ParticleSystem's default dimensions (i.e.
|
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info
|
|
void | resetDimensions (void) |
| Utility method to reset this particle.
|
|
void | setDimensions (Real width, Real height) |
| Sets the width and height for this particle.
|
|
void | setRotation (const Radian &rad) |
| Sets the current rotation.
|
|
Class representing a single particle instance.
◆ ParticleType
◆ Particle()
Ogre::Particle::Particle |
( |
| ) |
|
|
inline |
◆ _notifyOwner()
Internal method for notifying the particle of it's owner.
◆ _notifyVisualData()
Internal method for notifying the particle of it's optional visual data.
◆ getOwnHeight()
Real Ogre::Particle::getOwnHeight |
( |
void |
| ) |
const |
|
inline |
Retrieves the particle's personal width, if hasOwnDimensions is true.
◆ getOwnWidth()
Real Ogre::Particle::getOwnWidth |
( |
void |
| ) |
const |
|
inline |
Retrieves the particle's personal width, if hasOwnDimensions is true.
◆ getRotation()
const Radian & Ogre::Particle::getRotation |
( |
void |
| ) |
const |
|
inline |
◆ getVisualData()
Get the optional visual data associated with the class.
◆ hasOwnDimensions()
bool Ogre::Particle::hasOwnDimensions |
( |
void |
| ) |
const |
|
inline |
Returns true if this particle deviates from the ParticleSystem's default dimensions (i.e.
if the particle::setDimensions method has been called for this instance).
- See also
- particle::setDimensions
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
operator new, with debug line info
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
array operator new, with debug line info
◆ resetDimensions()
void Ogre::Particle::resetDimensions |
( |
void |
| ) |
|
◆ setDimensions()
void Ogre::Particle::setDimensions |
( |
Real |
width, |
|
|
Real |
height |
|
) |
| |
Sets the width and height for this particle.
◆ setRotation()
void Ogre::Particle::setRotation |
( |
const Radian & |
rad | ) |
|
Sets the current rotation.
◆ mColour
◆ mDirection
◆ mHeight
Real Ogre::Particle::mHeight |
Personal height if mOwnDimensions == true.
◆ mOwnDimensions
bool Ogre::Particle::mOwnDimensions |
Does this particle have it's own dimensions?
◆ mParticleType
Determines the type of particle.
◆ mPosition
◆ mRotation
Radian Ogre::Particle::mRotation |
◆ mRotationSpeed
Radian Ogre::Particle::mRotationSpeed |
Speed of rotation in radians/sec.
◆ mTimeToLive
Real Ogre::Particle::mTimeToLive |
Time to live, number of seconds left of particles natural life.
◆ mTotalTimeToLive
Real Ogre::Particle::mTotalTimeToLive |
Total Time to live, number of seconds of particles natural life.
◆ mWidth
Real Ogre::Particle::mWidth |
Personal width if mOwnDimensions == true.
The documentation for this class was generated from the following file: