SpriteMaterial

THREE.SpriteMaterial
class SpriteMaterial(parameters: UndefOr[Any]) extends Material

Materials for sprites.

Attributes

Graph
Supertypes
class Material
class Object
trait Any
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def copy(material: Material): Material.this.type

Attributes

Inherited from:
Material
def customProgramCacheKey(): String

Attributes

Inherited from:
Material
def dispose(): Unit

Attributes

Inherited from:
Material
def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def jsClone(): Material.this.type

Attributes

Inherited from:
Material
def onBeforeCompile(shader: Object): Unit

Attributes

Inherited from:
Material
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def setValues(values: Object): Unit

Attributes

Inherited from:
Material
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

var alphaMap: UndefOr[Texture]

Alpha map is a grayscale texture that controls the opacity across the surface. Default is null.

Alpha map is a grayscale texture that controls the opacity across the surface. Default is null.

Attributes

var color: Color

The material's color. Default is white (0xffffff).

The material's color. Default is white (0xffffff).

Attributes

var fog: Boolean

Whether the material is affected by fog. Default is true.

Whether the material is affected by fog. Default is true.

Attributes

val isSpriteMaterial: Boolean

This flag can be used for type testing.

This flag can be used for type testing.

Attributes

var lights: Boolean

Whether the material is affected by lights. Default is false.

Whether the material is affected by lights. Default is false.

Attributes

var map: UndefOr[Texture]

The texture map. Default is null.

The texture map. Default is null.

Attributes

var sizeAttenuation: Boolean

Whether the size of the sprite is attenuated by the camera depth. (Perspective camera only.) Default is true.

Whether the size of the sprite is attenuated by the camera depth. (Perspective camera only.) Default is true.

Attributes

Inherited fields

val `type`: String

Attributes

Inherited from:
Material
var alphaTest: Double

Attributes

Inherited from:
Material
var alphaToCoverage: Boolean

Attributes

Inherited from:
Material
var blending: Int

Attributes

Inherited from:
Material
var depthTest: Boolean

Attributes

Inherited from:
Material
var depthWrite: Boolean

Attributes

Inherited from:
Material
val id: Int

Attributes

Inherited from:
Material
var name: String

Attributes

Inherited from:
Material
var opacity: Double

Attributes

Inherited from:
Material
var polygonOffset: Boolean

Attributes

Inherited from:
Material
var polygonOffsetFactor: Double

Attributes

Inherited from:
Material
var polygonOffsetUnits: Double

Attributes

Inherited from:
Material
var precision: UndefOr[String]

Attributes

Inherited from:
Material
var premultipliedAlpha: Boolean

Attributes

Inherited from:
Material
var side: Int

Attributes

Inherited from:
Material
var stencilWrite: Boolean

Attributes

Inherited from:
Material
var toneMapped: Boolean

Attributes

Inherited from:
Material
var transparent: Boolean

Attributes

Inherited from:
Material
var userData: Object

Attributes

Inherited from:
Material
val uuid: String

Attributes

Inherited from:
Material
var version: Int

Attributes

Inherited from:
Material
var vertexColors: Boolean

Attributes

Inherited from:
Material
var visible: Boolean

Attributes

Inherited from:
Material