Class: LevelParticles
Defaults/Foundation/PBR/LevelParticles.LevelParticles
Constructors
constructor
• new LevelParticles(): LevelParticles
Returns
Properties
activeParticles
▪ Static activeParticles: ParticleSystem | GPUParticleSystem
Defined in
divinevoxel/babylon-renderer/src/Defaults/Foundation/PBR/LevelParticles.ts:16
emitter
▪ Static emitter: Mesh
Defined in
divinevoxel/babylon-renderer/src/Defaults/Foundation/PBR/LevelParticles.ts:15
particle
▪ Static particle: ParticleSystem | GPUParticleSystem
Defined in
divinevoxel/babylon-renderer/src/Defaults/Foundation/PBR/LevelParticles.ts:14
scene
▪ Static scene: Scene
Defined in
divinevoxel/babylon-renderer/src/Defaults/Foundation/PBR/LevelParticles.ts:18
texture
▪ Static texture: Texture
Defined in
divinevoxel/babylon-renderer/src/Defaults/Foundation/PBR/LevelParticles.ts:17
Methods
_getParticleSystem
▸ _getParticleSystem(): ParticleSystem | GPUParticleSystem
Returns
ParticleSystem | GPUParticleSystem
Defined in
divinevoxel/babylon-renderer/src/Defaults/Foundation/PBR/LevelParticles.ts:44
init
▸ init(scene): void
Parameters
| Name | Type |
|---|---|
scene | Scene |
Returns
void
Defined in
divinevoxel/babylon-renderer/src/Defaults/Foundation/PBR/LevelParticles.ts:19
start
▸ start(color1, color2?, colorDead?): void
Parameters
| Name | Type | Default value |
|---|---|---|
color1 | Color4 | undefined |
color2 | Color4 | color1 |
colorDead | Color4 | color1 |
Returns
void
Defined in
divinevoxel/babylon-renderer/src/Defaults/Foundation/PBR/LevelParticles.ts:126
stop
▸ stop(): void
Returns
void
Defined in
divinevoxel/babylon-renderer/src/Defaults/Foundation/PBR/LevelParticles.ts:141