Options
All
  • Public
  • Public/Protected
  • All
Menu

A Rotation behavior that handles starting rotation.

Example configuration:

{
"type": "rotationStatic",
"config": {
"min": 0,
"max": 180,
}
}

Hierarchy

  • StaticRotationBehavior

Implements

Index

Constructors

  • Parameters

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

        Maximum starting rotation of the particles, in degrees. 0 is facing right, 90 is upwards.

      • min: number

        Minimum starting rotation of the particles, in degrees. 0 is facing right, 90 is upwards.

    Returns StaticRotationBehavior

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 = 'rotationStatic'

Methods

Generated using TypeDoc