Home Reference Source
import CustomRenderer from 'three-nebula/src/renderer/CustomRenderer.js'
public class | source

CustomRenderer

Extends:

BaseRenderer → CustomRenderer

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

Method Summary

Public Methods
public

onParticleCreated(particle: *)

public

onParticleDead(particle: *)

public

onParticleUpdate(particle: *)

public

Inherited Summary

From class BaseRenderer
public

system: *

public

The class type.

public

init(system: *)

public

Logs the renderer type being used when in development mode.

public abstract

onParticleCreated(particle: *)

public abstract

onParticleDead(particle: *)

public abstract

onParticleUpdate(particle: *)

public abstract

onSystemUpdate(system: *)

public

remove()

Public Constructors

public constructor() source

Override:

BaseRenderer#constructor

Public Members

public materialPool: * source

public targetPool: * source

Public Methods

public onParticleCreated(particle: *) source

Override:

BaseRenderer#onParticleCreated

Params:

NameTypeAttributeDescription
particle *

public onParticleDead(particle: *) source

Override:

BaseRenderer#onParticleDead

Params:

NameTypeAttributeDescription
particle *

public onParticleUpdate(particle: *) source

Override:

BaseRenderer#onParticleUpdate

Params:

NameTypeAttributeDescription
particle *

public onSystemUpdate() source

Override:

BaseRenderer#onSystemUpdate