
Static Public Member Functions | |
| static void | init (Particles *part, DrawActionBase *, dataType &data) |
| static bool | particle (dataType &, UInt32) |
| static Vec3f & | size (dataType &data, UInt32 particle) |
Classes | |
| struct | dataType |
Definition at line 864 of file OSGParticles.cpp.
| static void SizeTraitParticle::init | ( | Particles * | part, | |
| DrawActionBase * | , | |||
| dataType & | data | |||
| ) | [inline, static] |
Definition at line 873 of file OSGParticles.cpp.
References osg::ParticlesBase::getMFSizes(), and SizeTraitParticle::dataType::sizes.
00874 { 00875 data.sizes = part->getMFSizes(); 00876 }
| static bool SizeTraitParticle::particle | ( | dataType & | , | |
| UInt32 | ||||
| ) | [inline, static] |
Definition at line 883 of file OSGParticles.cpp.
References SizeTraitParticle::dataType::sizes.
00884 { 00885 return (*(data.sizes))[particle]; 00886 }
1.5.5