Class ParticleVectorFieldSettings

Settings used for controlling a vector field in a GPU simulated particle system.

Hierarchy

  • FrameworkObject
    • ParticleVectorFieldSettings

Constructors

Accessors

  • get intensity(): number
  • Intensity of the forces and velocities applied by the vector field.

    Returns number

  • set intensity(value): void
  • Parameters

    • value: number

    Returns void

  • get isTilingX(): boolean
  • Determines should the field influence particles outside of the field bounds. If true the field will be tiled infinitely in the X direction.

    Returns boolean

  • set isTilingX(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isTilingY(): boolean
  • Determines should the field influence particles outside of the field bounds. If true the field will be tiled infinitely in the Y direction.

    Returns boolean

  • set isTilingY(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isTilingZ(): boolean
  • Determines should the field influence particles outside of the field bounds. If true the field will be tiled infinitely in the Z direction.

    Returns boolean

  • set isTilingZ(value): void
  • Parameters

    • value: boolean

    Returns void

  • get offset(): Immutable<Vector3>
  • Amount of to move the vector field by relative to the parent particle system. This is added to the bounds provided in the vector field resource.

    Returns Immutable<Vector3>

  • set offset(value): void
  • Parameters

    Returns void

  • get tightness(): number
  • Determines how closely does the particle velocity follow the vectors in the field. If set to 1 particles will be snapped to the exact velocity of the value in the field, and if set to 0 the field will not influence particle velocities directly.

    Returns number

  • set tightness(value): void
  • Parameters

    • value: number

    Returns void

  • get vectorField(): VectorField
  • Vector field resource used for influencing the particles.

    Returns VectorField

  • set vectorField(value): void
  • Vector field resource used for influencing the particles.

    Parameters

    Returns void