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

SpriteRenderer

Extends:

BaseRendererMeshRenderer → SpriteRenderer

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

The class type.

Private Members
private

_body: *

Method Summary

Public Methods
public

rotate(particle: *)

public

scale(particle: *)

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()

From class MeshRenderer
public
private

_body: *

private
private
public

isThreeSprite(particle: *): *

public

onParticleCreated(particle: *)

public

onParticleDead(particle: *)

public

onParticleUpdate(particle: *)

public
public

rotate(particle: *)

public

scale(particle: *)

Public Constructors

public constructor() source

Override:

MeshRenderer#constructor

Public Members

public type: string source

The class type.

Override:

BaseRenderer#type

Private Members

private _body: * source

Override:

MeshRenderer#_body

Public Methods

public rotate(particle: *) source

Override:

MeshRenderer#rotate

Params:

NameTypeAttributeDescription
particle *

public scale(particle: *) source

Override:

MeshRenderer#scale

Params:

NameTypeAttributeDescription
particle *