boundType property

BoundType boundType
final

Define the boundary type for the engine, one of:

  • BoundType.None : Particles do not interact with the engine boundary.
  • BoundType.WrapAround : Particles that reach a boundary are pushed to the opposite boundary
  • BoundType.Bounce : Particles that reach a boundary have their velocity set in the opposite direction

Implementation

final BoundType boundType;