Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Simulator

Hierarchy

  • Simulator

Index

Constructors

constructor

Properties

Private _worldRotation

_worldRotation: number = 0

active

active: boolean = false

Private elapsed

elapsed: number = 0

Private emitCounter

emitCounter: number = 0

finished

finished: boolean = false

particles

particles: Particle[] = []

Private readyToPlay

readyToPlay: boolean = true

renderData

renderData: any

Private sys

uvFilled

uvFilled: number = 0

Methods

emitParticle

  • emitParticle(pos: any): void

requestData

  • requestData(vertexCount: number, indicesCount: number): void

reset

  • reset(): void

step

  • step(dt: any): void

stop

  • stop(): void

updateParticleBuffer

  • updateParticleBuffer(particle: any, pos: any, buffer: any, offset: number): void

updateUVs

  • updateUVs(force?: undefined | false | true): void

Generated using TypeDoc