Logo
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SharpKmyGfx::ParticleInstance Class Reference

#include <Particle.h>

Public Member Functions

 ParticleInstance (System::String^ path, unsigned int displayID)
 
void start (SharpKmyMath::Matrix4 mtx, f32 prewarm)
 
void stopEmission ()
 
void setPosture (SharpKmyMath::Matrix4 mtx)
 
void draw (SharpKmyGfx::Render^ tgt)
 
void Release ()
 
void setPickupID (u16 id)
 
void stopPickup (bool flg)
 
void pause (bool flg)
 
void setVisibility (bool flg)
 
void setDisplayID (unsigned int id)
 
void getBound (SharpKmyMath::Vector3 %min, SharpKmyMath::Vector3 %max)
 
void getBoundOne (SharpKmyMath::Vector3 %min, SharpKmyMath::Vector3 %max)
 
f32 getMaxLifeTime ()
 
bool getUseDirection ()
 
bool isEndPlaying ()
 
void saveWithThumbnail (array< byte > ^img, int sz, int width, int height)
 
SharpKmyPhysics::PhysicsObject getPhysicsObject ()
 
void setTarget (SharpKmyMath::Vector3 tgt)
 
LegacyParticleRoot getLegacyRoot ()
 

Static Public Member Functions

static void ParticleInitialize (int maxInstanceCount, int maxSquareCount)
 
static void ParticleFinalize ()
 

Public Attributes

kmyGfx::ParticleInstance * obj
 

Constructor & Destructor Documentation

◆ ParticleInstance()

SharpKmyGfx::ParticleInstance::ParticleInstance ( System::String^  path,
unsigned int  displayID 
)

Member Function Documentation

◆ draw()

void SharpKmyGfx::ParticleInstance::draw ( SharpKmyGfx::Render tgt)

◆ getBound()

void SharpKmyGfx::ParticleInstance::getBound ( SharpKmyMath::Vector3 min,
SharpKmyMath::Vector3 max 
)

◆ getBoundOne()

void SharpKmyGfx::ParticleInstance::getBoundOne ( SharpKmyMath::Vector3 min,
SharpKmyMath::Vector3 max 
)

◆ getLegacyRoot()

LegacyParticleRoot SharpKmyGfx::ParticleInstance::getLegacyRoot ( )

◆ getMaxLifeTime()

f32 SharpKmyGfx::ParticleInstance::getMaxLifeTime ( )

◆ getPhysicsObject()

SharpKmyPhysics::PhysicsObject SharpKmyGfx::ParticleInstance::getPhysicsObject ( )

◆ getUseDirection()

bool SharpKmyGfx::ParticleInstance::getUseDirection ( )

◆ isEndPlaying()

bool SharpKmyGfx::ParticleInstance::isEndPlaying ( )

◆ ParticleFinalize()

void SharpKmyGfx::ParticleInstance::ParticleFinalize ( )
static

◆ ParticleInitialize()

void SharpKmyGfx::ParticleInstance::ParticleInitialize ( int  maxInstanceCount,
int  maxSquareCount 
)
static

◆ pause()

void SharpKmyGfx::ParticleInstance::pause ( bool  flg)

◆ Release()

void SharpKmyGfx::ParticleInstance::Release ( )

◆ saveWithThumbnail()

void SharpKmyGfx::ParticleInstance::saveWithThumbnail ( array< byte > ^  img,
int  sz,
int  width,
int  height 
)

◆ setDisplayID()

void SharpKmyGfx::ParticleInstance::setDisplayID ( unsigned int  id)

◆ setPickupID()

void SharpKmyGfx::ParticleInstance::setPickupID ( u16  id)

◆ setPosture()

void SharpKmyGfx::ParticleInstance::setPosture ( SharpKmyMath::Matrix4  mtx)

◆ setTarget()

void SharpKmyGfx::ParticleInstance::setTarget ( SharpKmyMath::Vector3  tgt)

◆ setVisibility()

void SharpKmyGfx::ParticleInstance::setVisibility ( bool  flg)

◆ start()

void SharpKmyGfx::ParticleInstance::start ( SharpKmyMath::Matrix4  mtx,
f32  prewarm 
)

◆ stopEmission()

void SharpKmyGfx::ParticleInstance::stopEmission ( )

◆ stopPickup()

void SharpKmyGfx::ParticleInstance::stopPickup ( bool  flg)

Member Data Documentation

◆ obj

kmyGfx::ParticleInstance* SharpKmyGfx::ParticleInstance::obj