Options
All
  • Public
  • Public/Protected
  • All
Menu

A Textuure behavior that assigns a single texture to each particle. String values will be converted to textures with ParticleUtils.GetTextureFromString.

Example config:

{
type: 'textureSingle',
config: {
texture: Texture.from('myTexId'),
}
}

Hierarchy

  • SingleTextureBehavior

Implements

Index

Constructors

Properties

order: BehaviorOrder = BehaviorOrder.Normal

Order in which the behavior will be handled. Lower numbers are handled earlier, with an order of 0 getting special treatment before the Emitter's transformation is applied.

texture: Texture<Resource>
editorConfig: BehaviorEditorConfig = null
type: string = 'textureSingle'

Methods

Generated using TypeDoc