Skip to main content

Class: LevelParticles

Defaults/Foundation/PBR/LevelParticles.LevelParticles

Constructors

constructor

new LevelParticles(): LevelParticles

Returns

LevelParticles

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

NameType
sceneScene

Returns

void

Defined in

divinevoxel/babylon-renderer/src/Defaults/Foundation/PBR/LevelParticles.ts:19


start

start(color1, color2?, colorDead?): void

Parameters

NameTypeDefault value
color1Color4undefined
color2Color4color1
colorDeadColor4color1

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