deargui-vpl/ref/virtools/Samples/Behaviors/ParticlesSystem/behaviors src/CylindricalParticleSystem.cpp

34 lines
1.1 KiB
C++

/////////////////////////////////////////////////////
/////////////////////////////////////////////////////
//
// CylindricalParticleSystem
//
/////////////////////////////////////////////////////
/////////////////////////////////////////////////////
#include "CKAll.h"
#include "ParticleGuids.h"
#include "GeneralParticleSystem.h"
CKObjectDeclaration *FillBehaviorCylindricalParticleSystemDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("CylindricalParticleSystem");
od->SetDescription("Emits particles from a cylinder");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CYLINDRICALSYSTEM_GUID);
od->SetAuthorGuid(VIRTOOLS_GUID);
od->SetAuthorName("Virtools");
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateGeneralParticleSystemProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->SetCategory("Particles");
od->NeedManager(PARTICLE_MANAGER_GUID);
/* rem:
Particle System which emits particles from a cylinder shape, oriented following the Z local direction of the frame it is attached to.
For a complete description of Particle Systems, click <a href="Particle Systems.html">here</a>.
*/
return od;
}