Contents

init(strength:axis:)

Creates a vortex force effect.

Declaration

init(strength: Double, axis: SIMD3<Float>)

Parameters

  • strength:

    The magnitude of the force.

  • axis:

    The vortex’s rotational axis centered at the effect origin.