Dart DocumentationthreeRenderableParticle

RenderableParticle class

@author mr.doob / http://mrdoob.com/

Ported to Dart from JS by: @author rob silverton / http://www.unwrong.com/

class RenderableParticle implements IRenderable {
   num x = null;
   num y = null;
   num z = null;

   num rotation = null;
   Vector2 scale;

   Material material = null;

   RenderableParticle()
     : scale = new Vector2.zero();

}

Implements

IRenderable

Constructors

new RenderableParticle() #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
RenderableParticle()
 : scale = new Vector2.zero();

Properties

Material material #

Material material = null

num rotation #

num rotation = null

Vector2 scale #

Vector2 scale

num x #

num x = null

num y #

num y = null

num z #

num z = null