Function
|
Description
|
void SetExplosionSize(int size)
|
Sets the Explosion Size of a single explosion.
|
int GetExplosionSize()
|
Returns the current Explosion Size of a single explosion.
|
void SetShapeSize(int size)
|
Sets the Shape Size of single objects.
|
int GetShapeSize()
|
Returns the current Shape Size of single objects.
|
void SetGravity(float gravity)
|
Sets the Gravity value for the effect.
|
float GetGravity()
|
Returns the currently set Gravity.
|
void SetFadeOut(int fadeout)
|
Sets the size of a Fade Out tail.
|
int GetFadeOut()
|
Returns the currently set Fade Out value.
|
void SetShapeCount(int count)
|
Sets the number of objects within an explosion.
|
int GetShapeCount()
|
Returns the currently set number of objects of an explosion.
|
void SetRocketCount(int count)
|
Sets the number of rockets or explosions displayed by the effect at the same time in Fireworks mode and Explosion mode.
|
int GetRocketCount()
|
Returns the currently set number of rockets or explosions.
|
void FireRocket(int posX, int posY, int posZ, int explPosX, int explPosY, int explPosZ, int ParticleCtn, int explSize, int explShape, int drawShape, color Col, color sparkleCol)
|
Manually creates a firework. posX is the X-coordinate, posY is the Y-coordinate, posZ is the Z-coordinate, explPosX is the end-coordinate of the fireworks explosion in X, explPosY is the end-coordinate of the fireworks explosion in Y, explPosZ is the end-coordinate of the fireworks explosion in Z, ParticleCtn is the number of objects, explSize is the size of the fireworks explosion, explShape is the type of the fireworks explosion, drawShape is the shape of the objects, Col is the color of the effect, sparkleCol is the color of the sparkle part.
|
void Detonate(int explPosX, int explPosY, int explPosZ, int ParticleCtn, int explSize, int explShape, int drawShape, color Col, color sparkleCol)
|
Manually creates an explosion. explPosX is the end-coordinate of the explosion in X, explPosY is the end-coordinate of the explosion in Y, explPosZ is the end-coordinate of the explosion in Z, ParticleCtn is the number of objects, explSize is the size of the explosion, explShape is the type of the explosion, drawShape is the shape of the objects, Col is the color of the effect, sparkleCol is the color of the sparkle part.
|
void SetExplosionMode(int mode)
|
Sets the Explosion Mode. See below for details.
|
int GetExplosionMode()
|
Returns which Explosion Mode is set.
|
void SetExplosionShape(int shape)
|
Sets the type of an explosion. See below for details.
|
int GetExplosionShape()
|
Returns which type of explosion is selected.
|
void SetDrawShape(int shape)
|
Sets the type of objects of an explosion. See below for details.
|
int GetDrawShape()
|
Returns which object shape is set.
|
void SetSparkleColorMode(int mode)
|
Sets the type of color mode of the Color Table for the Sparkle.
|
int GetSparkleColorMode()
|
Returns which color mode is set for the Color Table of the Sparkle.
|
int GetSparkleColorCount()
|
Returns the number of colors in the Color Table of the Sparkle.
|
void RemoveSparkleColor(int )
|
Removes a color from the Sparkle Color Table.
|
void SetSparkleColor(int index, color c)
|
Sets the color values for a color at a certain position (index) in the Sparkle Color Table.
|
color GetSparkleColor(int index)
|
Returns which color is set for a certain color at a certain position (index) in the Sparkle Color Table.
|
void AddSparkleColor(int index, color c)
|
Adds color c at position index to the Sparkle Color Table.
|