Sprite Class

Extends Script
Module: Sprite

Sprites allways face the screen are used for 2D elements.

Based on THREE.Sprite documentation for the object can be found at https://threejs.org/docs/index.html#Reference/Objects/Sprite.

Constructor

Sprite

(
  • material
)

Parameters:

  • material Material

    Material used to draw sprites

Item Index

Methods

Properties

Methods

dispose

()

Dispose the sprite material.

Properties

material

Material

Material used to render the sprite.