Options
All
  • Public
  • Public/Protected
  • All
Menu

A Scale behavior that applies a randomly picked value to the particle's x & y scale at initialization.

Example config:

{
type: 'scaleStatic',
config: {
min: 0.25,
max: 0.75,
}
}

Hierarchy

  • StaticScaleBehavior

Implements

Index

Constructors

  • Parameters

    • config: { max: number; min: number }
      • max: number

        Maximum scale of the particles, with a minimum value of 0

      • min: number

        Minimum scale of the particles, with a minimum value of 0

    Returns StaticScaleBehavior

Properties

max: number
min: number
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.

editorConfig: BehaviorEditorConfig = null
type: string = 'scaleStatic'

Methods

Generated using TypeDoc