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

Public Member Functions

 ParticleInstance (string path, UInt32 displayID)
 
 ParticleInstance (string path, UInt32 displayID, bool useEfkTransformSetting)
 
void Dispose ()
 
void start (SharpKmyMath.Matrix4 mtx, float prewarm)
 
void stopEmission ()
 
void stopEmission (bool immediate)
 
void setPosture (SharpKmyMath.Matrix4 mtx)
 
void draw (SharpKmyGfx.Render tgt)
 
void Release ()
 
void setPickupID (UInt16 id)
 
void stopPickup (bool flg)
 
void pause (bool flg)
 
void setVisibility (bool flg)
 
void setDisplayID (UInt32 id)
 
void getBound (ref SharpKmyMath.Vector3 min, ref SharpKmyMath.Vector3 max)
 
void getBoundOne (ref SharpKmyMath.Vector3 min, ref SharpKmyMath.Vector3 max)
 
float getMaxLifeTime ()
 
bool getUseDirection ()
 
bool isEndPlaying ()
 
void saveWithThumbnail (byte[] img, int sz, int width, int height)
 
SharpKmyPhysics.PhysicsObject getPhysicsObject ()
 
void setTarget (SharpKmyMath.Vector3 tgt)
 
void setColor (SharpKmyGfx.Color color)
 
void setScale (float s)
 
LegacyParticleRoot getLegacyRoot ()
 

Static Public Member Functions

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

Public Attributes

bool useEfkTransform = false
 

Constructor & Destructor Documentation

◆ ParticleInstance() [1/2]

SharpKmyGfx.ParticleInstance.ParticleInstance ( string  path,
UInt32  displayID 
)

◆ ParticleInstance() [2/2]

SharpKmyGfx.ParticleInstance.ParticleInstance ( string  path,
UInt32  displayID,
bool  useEfkTransformSetting 
)

Member Function Documentation

◆ Dispose()

void SharpKmyGfx.ParticleInstance.Dispose ( )

◆ draw()

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

◆ getBound()

void SharpKmyGfx.ParticleInstance.getBound ( ref SharpKmyMath.Vector3  min,
ref SharpKmyMath.Vector3  max 
)

◆ getBoundOne()

void SharpKmyGfx.ParticleInstance.getBoundOne ( ref SharpKmyMath.Vector3  min,
ref SharpKmyMath.Vector3  max 
)

◆ getLegacyRoot()

LegacyParticleRoot SharpKmyGfx.ParticleInstance.getLegacyRoot ( )

◆ getMaxLifeTime()

float SharpKmyGfx.ParticleInstance.getMaxLifeTime ( )

◆ getPhysicsObject()

SharpKmyPhysics.PhysicsObject SharpKmyGfx.ParticleInstance.getPhysicsObject ( )

◆ getUseDirection()

bool SharpKmyGfx.ParticleInstance.getUseDirection ( )

◆ isEndPlaying()

bool SharpKmyGfx.ParticleInstance.isEndPlaying ( )

◆ ParticleFinalize()

static void SharpKmyGfx.ParticleInstance.ParticleFinalize ( )
static

◆ ParticleInitialize()

static 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 ( byte[]  img,
int  sz,
int  width,
int  height 
)

◆ setColor()

void SharpKmyGfx.ParticleInstance.setColor ( SharpKmyGfx.Color  color)

◆ setDisplayID()

void SharpKmyGfx.ParticleInstance.setDisplayID ( UInt32  id)

◆ setPickupID()

void SharpKmyGfx.ParticleInstance.setPickupID ( UInt16  id)

◆ setPosture()

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

◆ setScale()

void SharpKmyGfx.ParticleInstance.setScale ( float  s)

◆ setTarget()

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

◆ setVisibility()

void SharpKmyGfx.ParticleInstance.setVisibility ( bool  flg)

◆ start()

void SharpKmyGfx.ParticleInstance.start ( SharpKmyMath.Matrix4  mtx,
float  prewarm 
)

◆ stopEmission() [1/2]

void SharpKmyGfx.ParticleInstance.stopEmission ( )

◆ stopEmission() [2/2]

void SharpKmyGfx.ParticleInstance.stopEmission ( bool  immediate)

◆ stopPickup()

void SharpKmyGfx.ParticleInstance.stopPickup ( bool  flg)

Member Data Documentation

◆ useEfkTransform

bool SharpKmyGfx.ParticleInstance.useEfkTransform = false