update method

  1. @override
dynamic update(
  1. dynamic frameTime,
  2. dynamic elapsed
)
override

Implementation

@override
update(frameTime,elapsed) {
  if (this.mesh.visible) {
    this.updateViewVector();
    this.slice();
    this.updateGeometry();
    this.mesh.material.uniforms['time']['value'] = elapsed;
  }
}