![]() |
OGRE-Next 4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
#include <OgreParticle2.h>
Public Member Functions | |
| void | advancePack (size_t numAdvance=1u) |
Public Attributes | |
| ArrayVector4 *RESTRICT_ALIAS | mColour |
| Current colour. | |
| ArrayVector2 *RESTRICT_ALIAS | mDimensions |
| Width & Height. | |
| ArrayVector3 *RESTRICT_ALIAS | mDirection |
| Direction (and speed). | |
| uint8 | mIndex |
| Which of the packed values is ours. Value in range [0; 4) for SSE2. | |
| ArrayVector3 *RESTRICT_ALIAS | mPosition |
| World position. | |
| ArrayRadian *RESTRICT_ALIAS | mRotation |
| Current rotation value. MUST be kept in range [-PI; PI]. | |
| ArrayRadian *RESTRICT_ALIAS ogre_nullable | mRotationSpeed |
| Speed of rotation in radians/sec. It is nullptr for BillboardSet2. | |
| ArrayReal *RESTRICT_ALIAS | mTimeToLive |
| Time left to live, number of seconds left of particles natural life. | |
| ArrayReal *RESTRICT_ALIAS ogre_nullable | mTotalTimeToLive |
| Time to live, number of seconds left of particles natural life It is nullptr for BillboardSet2. | |
|
inline |
| ArrayVector4* RESTRICT_ALIAS Ogre::ParticleCpuData::mColour |
Current colour.
| ArrayVector2* RESTRICT_ALIAS Ogre::ParticleCpuData::mDimensions |
Width & Height.
| ArrayVector3* RESTRICT_ALIAS Ogre::ParticleCpuData::mDirection |
Direction (and speed).
| uint8 Ogre::ParticleCpuData::mIndex |
Which of the packed values is ours. Value in range [0; 4) for SSE2.
| ArrayVector3* RESTRICT_ALIAS Ogre::ParticleCpuData::mPosition |
World position.
| ArrayRadian* RESTRICT_ALIAS Ogre::ParticleCpuData::mRotation |
Current rotation value. MUST be kept in range [-PI; PI].
| ArrayRadian* RESTRICT_ALIAS ogre_nullable Ogre::ParticleCpuData::mRotationSpeed |
Speed of rotation in radians/sec. It is nullptr for BillboardSet2.
| ArrayReal* RESTRICT_ALIAS Ogre::ParticleCpuData::mTimeToLive |
Time left to live, number of seconds left of particles natural life.
It does when it's 0. It's a valid ptr even for BillboardSet2 because that's how we can tell apart unallocated particles.
| ArrayReal* RESTRICT_ALIAS ogre_nullable Ogre::ParticleCpuData::mTotalTimeToLive |
Time to live, number of seconds left of particles natural life It is nullptr for BillboardSet2.