36 lines
1.2 KiB
C++
36 lines
1.2 KiB
C++
/////////////////////////////////////////////////////
|
|
/////////////////////////////////////////////////////
|
|
//
|
|
// PlanarParticleSystem
|
|
//
|
|
/////////////////////////////////////////////////////
|
|
/////////////////////////////////////////////////////
|
|
#include "CKAll.h"
|
|
|
|
#include "ParticleEmitter.h"
|
|
#include "ParticleGuids.h"
|
|
#include "GeneralParticleSystem.h"
|
|
#include "ParticleSystemRenderCallbacks.h"
|
|
|
|
CKObjectDeclaration *FillBehaviorPlanarParticleSystemDecl()
|
|
{
|
|
CKObjectDeclaration *od = CreateCKObjectDeclaration("PlanarParticleSystem");
|
|
od->SetDescription("Emits particles from a plan");
|
|
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
|
|
od->SetGuid(PLANARSYSTEM_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 plane, which normal is the Z local direction of the frame it is attached to and defined in size by the X and Y frame dimensions.
|
|
For a complete description of Particle Systems, click <a href="Particle Systems.html">here</a>.
|
|
*/
|
|
return od;
|
|
}
|
|
|
|
|