Class ParticleRotationOptions

Structure used for initializing a ParticleRotation object.

Constructors

Properties

_isUsing3DRotation: boolean
_rotation3D: Vector3Distribution

Accessors

  • get isUsing3DRotation(): boolean
  • Determines should the particle rotation be a single angle applied around a Z axis (if disabled), or a set of Euler angles that allow you to rotate around every axis (if enabled).

    Returns boolean

  • set isUsing3DRotation(value): void
  • Parameters

    • value: boolean

    Returns void

  • get rotation(): FloatDistribution
  • Determines the rotation of the particles in degrees, applied around the particle's local Z axis. Only used if 3D rotation is disabled.

    Returns FloatDistribution

  • set rotation(value): void
  • Parameters

    Returns void

Methods